Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Build System to Match OpenLane 2 #2115

Merged
merged 26 commits into from
May 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update build script
donn committed Apr 8, 2024
commit 209f9965acf64d6b3a897d1d114cf8d28fe3c617
8 changes: 7 additions & 1 deletion docker/build.sh
Original file line number Diff line number Diff line change
@@ -10,4 +10,10 @@ TARBALL=$(nix build\
..#packages.$NIX_SYSTEM.openlane1-docker)
cat $TARBALL | docker load
nix store delete $TARBALL
docker build --platform=$BUILD_ARCH --build-arg="PLATFORM=$BUILD_ARCH" -t efabless/openlane:current-$BUILD_ARCH .
if [ "$BUILD_ARCH" = "amd64" ]; then
PLATFORM_STRING="linux/amd64"
fi
if [ "$BUILD_ARCH" = "arm64v8" ]; then
PLATFORM_STRING="linux/arm64/v8"
fi
docker build --platform=$PLATFORM_STRING --build-arg="PLATFORM=$BUILD_ARCH" -t efabless/openlane:current-$BUILD_ARCH .
4 changes: 3 additions & 1 deletion docker/docker.nix
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@
gnugrep,
gnused,
gnumake,
gnutar,
gdb,
lldb,
which,
@@ -61,8 +62,9 @@ in
bashInteractive
gnugrep
gnused
which
gnutar
gnumake
which

## Networking
cacert