Browse Source

.github: build bpf-linker with llvm-21

Tamir Duberstein 5 days ago
parent
commit
a01b1d8b76
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/ci.yml

+ 2 - 2
.github/workflows/ci.yml

@@ -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: