summaryrefslogtreecommitdiffstats
path: root/dynamic-layers
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-07-06 07:56:20 -0700
committerKhem Raj <raj.khem@gmail.com>2023-07-10 02:44:33 +0200
commit9dcbac82c8618e5f77d2295f3bc71f8be9fcbad6 (patch)
treef3de25af93e366507d5604009a6ba4a200863c12 /dynamic-layers
parent2b52be0c01a2d94c204c6e870d323479444e6c54 (diff)
downloadmeta-clang-9dcbac82c8618e5f77d2295f3bc71f8be9fcbad6.tar.gz
bpftrace: Upgrade to 0.18.0
Allow clang/llvm 17 to build it Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'dynamic-layers')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/0001-cmake-Raise-max-llvm-major-version-to-16.patch4
-rw-r--r--dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.18.0.bb (renamed from dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.17.0.bb)2
2 files changed, 3 insertions, 3 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/0001-cmake-Raise-max-llvm-major-version-to-16.patch b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/0001-cmake-Raise-max-llvm-major-version-to-16.patch
index 93fceb2..1806fde 100644
--- a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/0001-cmake-Raise-max-llvm-major-version-to-16.patch
+++ b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/0001-cmake-Raise-max-llvm-major-version-to-16.patch
@@ -15,8 +15,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 endif() 15 endif()
16 16
17 set(MIN_LLVM_MAJOR 6) 17 set(MIN_LLVM_MAJOR 6)
18- set(MAX_LLVM_MAJOR 15) 18- set(MAX_LLVM_MAJOR 16)
19+ set(MAX_LLVM_MAJOR 16) 19+ set(MAX_LLVM_MAJOR 17)
20 20
21 if((${LLVM_VERSION_MAJOR} VERSION_LESS ${MIN_LLVM_MAJOR}) OR (${LLVM_VERSION_MAJOR} VERSION_GREATER ${MAX_LLVM_MAJOR})) 21 if((${LLVM_VERSION_MAJOR} VERSION_LESS ${MIN_LLVM_MAJOR}) OR (${LLVM_VERSION_MAJOR} VERSION_GREATER ${MAX_LLVM_MAJOR}))
22 message(SEND_ERROR "Unsupported LLVM version found via ${LLVM_INCLUDE_DIRS}: ${LLVM_VERSION_MAJOR}") 22 message(SEND_ERROR "Unsupported LLVM version found via ${LLVM_INCLUDE_DIRS}: ${LLVM_VERSION_MAJOR}")
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.17.0.bb b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.18.0.bb
index f3405cb..0d7261f 100644
--- a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.17.0.bb
+++ b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.18.0.bb
@@ -20,7 +20,7 @@ SRC_URI = "git://github.com/iovisor/bpftrace;branch=master;protocol=https \
20 file://0001-cmake-Raise-max-llvm-major-version-to-16.patch \ 20 file://0001-cmake-Raise-max-llvm-major-version-to-16.patch \
21 file://run-ptest \ 21 file://run-ptest \
22" 22"
23SRCREV = "70ee22cb14e2eedc5df17e53965824d7381f8e6f" 23SRCREV = "e199c7e73da84bff9fe744d1e3402c2b505aa5a2"
24 24
25S = "${WORKDIR}/git" 25S = "${WORKDIR}/git"
26 26