mirror of
https://github.com/The-OpenROAD-Project/OpenLane.git
synced 2026-05-29 00:23:55 +08:00
+ 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
14 lines
363 B
Makefile
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
|