From bda890dc9c1c1223f4de1f2252ac15d7ae826c96 Mon Sep 17 00:00:00 2001 From: Tyler Burdsall Date: Thu, 31 Oct 2024 11:23:42 -0700 Subject: [PATCH] fix: add step to install os dependencies for build --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cf83043e..174b1bb9 100644 --- a/Makefile +++ b/Makefile @@ -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 \