Skip to content

Commit

Permalink
fix: add step to install os dependencies for build
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerburdsall committed Oct 31, 2024
1 parent 8b8effb commit bda890d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@

default: pull-request-ci

install-dependencies:
yum update -y
yum install cmake3 clang-devel zstd libzstd-devel -y
(ln -s /usr/bin/cmake3 /usr/bin/cmake) || echo "cmake already installed, nothing to do"

install-bpftool-arm:
curl -fSL "https://github.com/libbpf/bpftool/releases/download/v7.2.0/bpftool-v7.2.0-arm64.tar.gz" -o bpftool.tar.gz \
&& tar --extract --file bpftool.tar.gz --directory /usr/local/bin \
&& chmod +x /usr/local/bin/bpftool \
&& source ~/.bashrc

pipeline-build-arm64v8: install-bpftool-arm
pipeline-build-arm64v8: install-dependencies install-bpftool-arm
cargo build --release \
&& ./package.sh arm64v8/rezolus.tar.gz target/release/rezolus \

Expand Down

0 comments on commit bda890d

Please sign in to comment.