Files
OpenLane/docker/build.sh
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

13 lines
251 B
Bash

set -x
set -e
TARBALL=$(nix build\
--no-link\
--print-out-paths\
--accept-flake-config\
--option system $NIX_SYSTEM\
--extra-platforms $NIX_SYSTEM\
..#packages.$NIX_SYSTEM.openlane1-docker\
)
cat $TARBALL | docker load
nix store delete $TARBALL