Skip to content

Commit

Permalink
install in build.sh for aarch64
Browse files Browse the repository at this point in the history
Signed-off-by: Nischal Sharma <[email protected]>
  • Loading branch information
NickSneo committed Aug 14, 2024
1 parent 100f7cd commit 7be8bfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ jobs:
env:
SKIP_GRADLE: true
steps:
- name: Prepare
run: |
mkdir -p /home/runner/nimble
wget https://github.com/nim-lang/nightlies/releases/download/2024-01-04-version-2-0-0acdce502ca39441bb7e4050efdf43bf03db075d/nim-2.0.3-linux_arm64.tar.xz
tar -xf nim-2.0.3-linux_arm64.tar.xz
mv nim-2.0.3/* /home/runner/nimble/
- name: Checkout Repo
uses: actions/checkout@v4
with:
Expand Down
5 changes: 4 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,10 @@ build_constantine() {
# Build the constantine library
export CTT_LTO=false
if [[ "$OSARCH" == "linux-gnu-aarch64" ]]; then
/home/runner/nimble/bin/nimble make_lib
# Download and extract Nim
wget https://github.com/nim-lang/nightlies/releases/download/2024-01-04-version-2-0-0acdce502ca39441bb7e4050efdf43bf03db075d/nim-2.0.3-linux_arm64.tar.xz
tar -xf nim-2.0.3-linux_arm64.tar.xz
./nim-2.0.3/bin/nimble make_lib
else
nimble make_lib
fi
Expand Down

0 comments on commit 7be8bfb

Please sign in to comment.