.github: build bpf-linker with llvm-21

reviewable/pr1321/r1
Tamir Duberstein 5 days ago
parent 9a367c11b0
commit a01b1d8b76
No known key found for this signature in database

@ -170,7 +170,7 @@ jobs:
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- run: cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker - run: cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker --features llvm-21
- uses: taiki-e/install-action@cargo-hack - uses: taiki-e/install-action@cargo-hack
@ -297,7 +297,7 @@ jobs:
# --force so that bpf-linker gets always relinked against the latest LLVM downloaded above. # --force so that bpf-linker gets always relinked against the latest LLVM downloaded above.
# #
# Do this on all system (not just macOS) to avoid relying on rustc-provided libLLVM.so. # Do this on all system (not just macOS) to avoid relying on rustc-provided libLLVM.so.
- run: cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker --no-default-features --force - run: cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker --no-default-features --features llvm-21 --force
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with:

Loading…
Cancel
Save