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
10 lines
208 B
Python
10 lines
208 B
Python
import sys
|
|
|
|
|
|
def current_nix_system(arch: str) -> str:
|
|
return {"amd64": "x86_64-linux", "arm64v8": "aarch64-linux"}[arch]
|
|
|
|
|
|
if __name__ == "__main__":
|
|
print(current_nix_system(*sys.argv[1:]), end="")
|