Files
OpenLane/docker/Makefile
Mohamed Gaber 14b94a6682 Migrate Build System to Match OpenLane 2 (#2115)
+ Repository is now a Nix flake
~ Change all invocations of `openroad -python` to use `run_odbpy_script` for consistency
~ Change build system from ad-hoc to Nix, still producing a Docker image as a final result
~ Update KLayout scripts to use `klayout-pymod` or properly parse commandline arguments
~ `open_pdks` -> `bdc9412` to match OpenLane 2
- Remove local installer; `nix run .` will run OpenLane natively
2024-05-08 15:41:43 +03:00

14 lines
363 B
Makefile

PYTHON_BIN ?= python3
BUILD_ARCH ?= $(shell $(PYTHON_BIN) ./current_platform.py)
NIX_SYSTEM := $(shell $(PYTHON_BIN) ./current_system.py $(BUILD_ARCH))
HASH = $(shell git rev-parse HEAD)
HASH_SHORT = $(shell git rev-parse --short=7 HEAD)
all: openlane
merge: openlane
.PHONY: openlane
openlane:
NIX_SYSTEM=$(NIX_SYSTEM) BUILD_ARCH=$(BUILD_ARCH) bash build.sh