Skip to content

Commit

Permalink
fix build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
x-mass committed Nov 24, 2023
1 parent 65e5ec5 commit ae1eb7d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,24 @@ jobs:
libicu-dev \
curl \
pkg-config \
libspdlog-dev
wget \
\
libspdlog-dev \
liblz4-dev \
libgnutls28-dev \
libprotobuf-dev \
libyaml-cpp-dev \
libsctp-dev \
ragel \
xfslibs-dev \
systemtap-sdt-dev \
libc-ares-dev \
libhwloc-dev
# Everything will be cleaned on checkout anyway
wget http://launchpadlibrarian.net/466750967/libfmt-dev_6.1.2+ds-2_amd64.deb
apt remove libfmt-dev
apt install ./libfmt-dev_6.1.2+ds-2_amd64.deb
- name: Print toolchain information
run: |
Expand All @@ -50,12 +67,12 @@ jobs:
with:
submodules: 'recursive'
fetch-depth: 0

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

# Workaround: https://github.com/actions/checkout/issues/1169
- name: Mark directory as safe
run: |
Expand Down Expand Up @@ -85,12 +102,13 @@ jobs:
cmake -G "Unix Makefiles" \
-B build \
-DCMAKE_BUILD_TYPE=Release
-DBUILD_WITH_NUMA=FALSE
- name: Build proof-producer
env:
BOOST_ROOT: "${{ steps.install-boost.outputs.BOOST_ROOT }}"
run: |
cd build
cd build
make
cd ..
Expand Down Expand Up @@ -133,4 +151,3 @@ jobs:
POOL="ubuntu/pool/main/p/proof-generator"
aws s3api put-object --bucket deb.nil.foundation --key $POOL/$PROOF_GENERATOR_PACKAGE --body $PROOF_GENERATOR_PACKAGE
mkrepo s3://deb.nil.foundation/ubuntu/
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,21 @@ ${ZKLLVM_BUILD:-build}/bin/assigner/assigner -b ${ZKLLVM_BUILD:-build}/examples/
# Building
1. Install dependencies:
```
sudo apt-get install liblz4-dev libgnutls28-dev libprotobuf-dev libyaml-cpp-dev libsctp-dev ragel xfslibs-dev systemtap-sdt-dev
sudo apt-get install \
liblz4-dev \
libgnutls28-dev \
libprotobuf-dev \
libyaml-cpp-dev \
libsctp-dev \
ragel \
xfslibs-dev \
systemtap-sdt-dev \
libc-ares-dev \
libhwloc-dev
```
2. Install specific version of *libmft-dev*:
```
wget http://launchpadlibrarian.net/466750967/libfmt-dev_6.1.2+ds-2_amd64. deb
wget http://launchpadlibrarian.net/466750967/libfmt-dev_6.1.2+ds-2_amd64.deb
sudo apt remove libfmt-dev
sudo apt install ./libfmt-dev_6.1.2+ds-2_amd64.deb
```
Expand Down

0 comments on commit ae1eb7d

Please sign in to comment.