Skip to content

Commit 7abee1e

Browse files
waruqianakryiko
authored andcommitted
always fetch bpftool from remote
Signed-off-by: ruki <waruqi@gmail.com>
1 parent 7b1c6e3 commit 7abee1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
&& sudo apt-get -y clean
2929
- name: Build xmake android examples/c
3030
run: |
31-
cd examples/c && xmake f -p android -a ${{ matrix.arch }} --require-bpftool=y -y && xmake -y
31+
cd examples/c && xmake f -p android -a ${{ matrix.arch }} -y && xmake -y

examples/c/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if xmake.version():satisfies(">=2.5.7 <=2.5.9") then
99
end
1010

1111
option("system-libbpf", {showmenu = true, default = false, description = "Use system-installed libbpf"})
12-
option("require-bpftool", {showmenu = true, default = false, description = "Require bpftool package"})
12+
option("require-bpftool", {showmenu = true, default = true, description = "Require bpftool package"})
1313

1414
add_requires("elfutils", "zlib")
1515
if is_plat("android") then

0 commit comments

Comments
 (0)