Skip to content

Commit

Permalink
nimble change revert
Browse files Browse the repository at this point in the history
Signed-off-by: Nischal Sharma <nischal@web3labs.com>
  • Loading branch information
NickSneo committed Aug 15, 2024
1 parent e9e38a3 commit 05d6d6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,10 @@ build_constantine() {
# Build the constantine library
export CTT_LTO=false
if [[ "$OSARCH" == "linux-gnu-aarch64" ]]; then
# Download and extract Nim
wget https://github.com/nim-lang/nightlies/releases/download/2024-03-28-version-2-0-b47747d31844c6bd9af4322efe55e24fefea544c/nim-2.0.4-linux_arm64.tar.xz
tar -xf nim-2.0.4-linux_arm64.tar.xz
git config --global --add safe.directory /home/ubuntu/constantine/constantine
export PATH=$(pwd)/nim-2.0.4/bin:$PATH
nimble make_lib
else
Expand Down
3 changes: 0 additions & 3 deletions native-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@ wget https://download.java.net/java/GA/jdk21.0.2/f2283984656d49d69e91c558476027a
tar -xzf openjdk-21.0.2_linux-aarch64_bin.tar.gz -C $HOME
export JAVA_HOME=$HOME/jdk-21.0.2
export PATH=$JAVA_HOME/bin:$PATH
wget https://github.com/nim-lang/nightlies/releases/download/2024-03-28-version-2-0-b47747d31844c6bd9af4322efe55e24fefea544c/nim-2.0.4-linux_arm64.tar.xz
tar -xf nim-2.0.4-linux_arm64.tar.xz
git config --global --add safe.directory /home/ubuntu/constantine/constantine
/home/ubuntu/build.sh

0 comments on commit 05d6d6f

Please sign in to comment.