summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-03-11 22:55:43 +0800
committerruki <[email protected]>2021-03-11 22:55:43 +0800
commit051264aa60973d3b7a1654412ea936e1da3a515c (patch)
treece0f6c260c4a4634a39f48c8ee1ae573ab915e73
parentebe5e091faf572ac6cd71885f39b539979751478 (diff)
improve bpf test
-rw-r--r--tests/projects/bpf/minimal/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/bpf/minimal/xmake.lua b/tests/projects/bpf/minimal/xmake.lua
index 2b838a4e8..640a2a868 100644
--- a/tests/projects/bpf/minimal/xmake.lua
+++ b/tests/projects/bpf/minimal/xmake.lua
@@ -1,6 +1,7 @@
add_rules("mode.release", "mode.debug")
add_requires("linux-tools", {alias = "bpf", configs = {bpf = true}})
add_requires("linux-headers")
+add_requires("llvm >=10.x")
target("minimal")
set_kind("binary")
@@ -8,5 +9,5 @@ target("minimal")
add_files("src/minimal.c")
add_files("src/minimal.bpf.c")
add_packages("bpf", "linux-headers")
- set_toolchains("clang")
+ set_toolchains("@llvm")
set_license("GPL-2.0")