Skip to content

Commit

Permalink
Fix Dockerfile to build gmp
Browse files Browse the repository at this point in the history
  • Loading branch information
olomix committed Sep 11, 2024
1 parent d90ec09 commit 18ed671
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/images/Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM ubuntu:22.04

RUN apt-get -y update && apt-get -y install build-essential cmake m4 nasm
RUN apt-get -y update && \
apt-get -y install build-essential cmake m4 nasm curl
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
set -x
set -e
mkdir -p build_prover_arm64 && cd build_prover_arm64
cmake .. -DTARGET_PLATFORM=aarch64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../package_aarch64
cmake .. -DTARGET_PLATFORM=aarch64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../package_arm64
make -j4 && make install
ctest --rerun-failed --output-on-failure
EOF
Expand All @@ -78,7 +78,7 @@ jobs:
with:
name: rapidsnark-linux-arm64
path: |
package_aarch64
package_arm64
if-no-files-found: error

- run: docker run --platform=linux/arm64 builder:arm64 uname -a
Expand Down

0 comments on commit 18ed671

Please sign in to comment.