Commit 2ff67f5
selftests/bpf: propagate LLVM toolchain into runqslower sub-make
The runqslower build invokes a nested make, but the selected LLVM
toolchain (via LLVM=-<version>) is not propagated. This causes the
sub-make to call the system-default 'clang' and 'llvm-strip' even when
a specific LLVM version is intended.
# LLVM=-20 V=1 make -C tools/testing/selftests/bpf
...
make -C tools/bpf/runqslower ...
clang -g -O2 --target=bpfel -I... -c runqslower.bpf.c -o runqslower.bpf.o && \
llvm-strip -g runqslower.bpf.o
/bin/sh: 1: clang: not found
(expected: clang-20 and llvm-strip-20)
Propagate CLANG and LLVM_STRIP to the sub-make to ensure LLVM version
consistency across all builds.
Signed-off-by: Hoyeon Lee <[email protected]>1 parent bfb0726 commit 2ff67f5
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments