Skip to content

Commit

Permalink
prover build debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelArtists committed Apr 8, 2024
1 parent 43e56b1 commit 01e7944
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/cdk-superuser-regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,19 @@ jobs:

- name: Clone and build zkevm-prover
run: |
git clone https://github.com/0xPolygonHermez/zkevm-prover.git
git clone --recursive https://github.com/0xPolygonHermez/zkevm-prover.git
cd zkevm-prover
# git checkout "${{ github.event.inputs.zkevm_prover_commit_id }}"
git checkout d37e826
sudo apt-get install libgtest-dev
g++ tests/tests.cpp src/* -lgtest -lgmp -lomp -o test -g -Wall -pthread -fopenmp -mavx2 -L$(find /usr/lib/llvm-* -name "libomp.so" | sed 's/libomp.so//')
g++ benchs/bench.cpp src/* -lbenchmark -lomp -lpthread -lgmp -std=c++17 -Wall -pthread -fopenmp -mavx2 -L$(find /usr/lib/llvm-* -name "libomp.so" | sed 's/libomp.so//') -O3 -o bench
docker build -t zkevm-prover:local -f ./Dockerfile-GHA .
# install archive deps
./tools/download_archive.sh
# install pkg deps
apt update
apt install build-essential libbenchmark-dev libomp-dev libgmp-dev nlohmann-json3-dev postgresql libpqxx-dev libpqxx-doc nasm libsecp256k1-dev grpc-proto libsodium-dev libprotobuf-dev libssl-dev cmake libgrpc++-dev protobuf-compiler protobuf-compiler-grpc uuid-dev
cd src/grpc
make
cd ../..
docker build -t zkevm-prover:local -f ./Dockerfile .
sleep 10
- name: Install kurtosis
Expand Down

0 comments on commit 01e7944

Please sign in to comment.