Skip to content

Commit

Permalink
etc: fix prefix for klayout on aarch64
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Bandeira <[email protected]>
  • Loading branch information
Vitor Bandeira committed Aug 23, 2024
1 parent 2c7a423 commit 5d5f870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/DependencyInstaller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ _installUbuntuPackages() {
lastDir="$(pwd)"
# temp dir to download and compile
baseDir=/tmp/installers
klayoutPrefix=${PREFIX:-"/usr/local"}
klayoutPrefix=${PREFIX:-"/usr/local/bin"}
mkdir -p "${baseDir}"
cd "${baseDir}"
if [[ $arch == "aarch64" ]]; then
Expand All @@ -142,7 +142,7 @@ _installUbuntuPackages() {
echo "Installing KLayout for aarch64 architecture"
git clone --depth=1 -b "v${klayoutVersion}" https://github.com/KLayout/klayout.git
cd klayout
./build.sh -bin "${klayoutPrefix}" -j $(nproc)
./build.sh -prefix "${klayoutPrefix}" -j $(nproc)
else
echo "Klayout is already installed"
fi
Expand Down

0 comments on commit 5d5f870

Please sign in to comment.