File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
circleci/images/stylechecker Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profil
6565. "$CARGO_HOME/env"
6666rustup toolchain install nightly-x86_64-unknown-linux-musl
6767rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-musl
68- cargo install --locked bpf-linker --no-default-features --features llvm-21
6968export PATH="/root/.cargo/bin:${PATH}"
69+ export PATH="/usr/lib/llvm21/bin:${PATH}"
7070
7171LLVM_CONFIG="$(command -v llvm-config || command -v llvm-config-21)"
7272LLVM_LIBDIR="$(${LLVM_CONFIG} --libdir)"
@@ -78,6 +78,8 @@ export LLVM_SYS_211_STATIC=1
7878export AYA_RUSTC_LLVM_PROXY_DISABLE_DLOPEN=1
7979export AYA_RUSTC_LLVM_PROXY_LIB_DIR="${LLVM_LIBDIR}"
8080
81+ cargo install --locked bpf-linker --no-default-features --features llvm-21
82+
8183
8284install -m 755 "$CARGO_HOME/bin/bpf-linker" /usr/local/bin/bpf-linker
8385
You can’t perform that action at this time.
0 commit comments