mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-13 20:19:07 +08:00
ci: fetch and build latest pahole
Build latest pahole from sources and not rely on hacky Ubuntu repository approach. Also enable tests for latest kernel that rely on pahole 1.16. Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
committed by
Andrii Nakryiko
parent
17c26b7da6
commit
22d5d40493
@@ -1,11 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
LLVM_VER=11
|
||||
LIBBPF_PATH="${REPO_ROOT}"
|
||||
REPO_PATH="travis-ci/vmtest/bpf-next"
|
||||
|
||||
# temporary work-around for failing tests
|
||||
rm "${REPO_ROOT}/${REPO_PATH}/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c"
|
||||
|
||||
make \
|
||||
CLANG=clang-10 \
|
||||
LLC=llc-10 \
|
||||
LLVM_STRIP=llvm-strip-10 \
|
||||
CLANG=clang-${LLVM_VER} \
|
||||
LLC=llc-${LLVM_VER} \
|
||||
LLVM_STRIP=llvm-strip-${LLVM_VER} \
|
||||
VMLINUX_BTF="${VMLINUX_BTF}" \
|
||||
-C "${REPO_ROOT}/${REPO_PATH}/tools/testing/selftests/bpf" \
|
||||
-j $((4*$(nproc)))
|
||||
|
||||
Reference in New Issue
Block a user