From 7abee1e68cd48e239897df2c01f8fe71cc360d92 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 2 Nov 2023 16:06:41 +0800 Subject: [PATCH] always fetch bpftool from remote Signed-off-by: ruki --- .github/workflows/build-android.yml | 2 +- examples/c/xmake.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index a66be298..451e9fba 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -28,4 +28,4 @@ jobs: && sudo apt-get -y clean - name: Build xmake android examples/c run: | - cd examples/c && xmake f -p android -a ${{ matrix.arch }} --require-bpftool=y -y && xmake -y + cd examples/c && xmake f -p android -a ${{ matrix.arch }} -y && xmake -y diff --git a/examples/c/xmake.lua b/examples/c/xmake.lua index add93258..d2f92ee8 100644 --- a/examples/c/xmake.lua +++ b/examples/c/xmake.lua @@ -9,7 +9,7 @@ if xmake.version():satisfies(">=2.5.7 <=2.5.9") then end option("system-libbpf", {showmenu = true, default = false, description = "Use system-installed libbpf"}) -option("require-bpftool", {showmenu = true, default = false, description = "Require bpftool package"}) +option("require-bpftool", {showmenu = true, default = true, description = "Require bpftool package"}) add_requires("elfutils", "zlib") if is_plat("android") then