bpftrace: Upgrade to 0.24.1 release
PATCH 1/1 bpftrace: Upgrade to 0.24.1 release
Drop upstreamed patches
Signed-off-by Khem Raj <[email protected]>
---
...01-Include-missing-c-runtime-headers.patch | 39 ----------
...-supported-clang-version-to-clang-21.patch | 24 ------
...-when-using-libc-casting-ns-to-syste.patch | 54 -------------
...-Clang-LLVM-21-DiagnosticOptions-API.patch | 78 -------------------
...{bpftrace_0.24.0.bb => bpftrace_0.24.1.bb} | 8 +-
5 files changed, 2 insertions(+), 201 deletions(-)
delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace/0001-Include-missing-c-runtime-headers.patch
delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace/0001-cmake-Raise-max-supported-clang-version-to-clang-21.patch
delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace/0002-chrono-Fix-build-when-using-libc-casting-ns-to-syste.patch
delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace/0003-ast-Adapt-to-Clang-LLVM-21-DiagnosticOptions-API.patch
rename meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/{bpftrace_0.24.0.bb => bpftrace_0.24.1.bb} (83%)meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace/0001-Include-missing-c-runtime-headers.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From ead4dc45e35fc6c3770ef4021720e0e6a5b60674 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sun, 31 Aug 2025 15:23:27 -0700 -Subject: [PATCH 1/3] Include missing c++ runtime headers - -These headers are required and found to fail builds -when using llvm/libc++ instead of libstdc++ on linux - -Upstream-Status: Submitted [https://github.com/bpftrace/bpftrace/pull/4526] -Signed-off-by: Khem Raj <[email protected]> ---- - src/util/bpf_names.cpp | 1 + - tests/opaque.cpp | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/src/util/bpf_names.cpp b/src/util/bpf_names.cpp -index 68525bfc..ab8f6f2f 100644 ---- a/src/util/bpf_names.cpp -+++ b/src/util/bpf_names.cpp -@@ -1,6 +1,7 @@ - #include <algorithm> - #include <iomanip> - #include <iostream> -+#include <sstream> // for std::ostringstream - - #include "util/bpf_names.h" - -diff --git a/tests/opaque.cpp b/tests/opaque.cpp -index a030a05d..034888d3 100644 ---- a/tests/opaque.cpp -+++ b/tests/opaque.cpp -@@ -1,6 +1,7 @@ - #include "util/opaque.h" - #include "gtest/gtest.h" - #include <cstring> -+#include <numbers> // for std::numbers - #include <string> - #include <vector> -
meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace/0001-cmake-Raise-max-supported-clang-version-to-clang-21.patch deleted +0 -24
@@ -1,24 +0,0 @@ -From 7bd8ec690ad587e7f180bcd061a6205b28d86260 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sun, 31 Aug 2025 09:50:35 -0700 -Subject: [PATCH] cmake: Raise max supported clang version to clang-21 - -Upstream-Status: Pending -Signed-off-by: Khem Raj <[email protected]> ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 025fa738..a0f16dd1 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -172,7 +172,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug") - # releases. - set(MAX_LLVM_MAJOR 999) - else() -- set(MAX_LLVM_MAJOR 20) -+ set(MAX_LLVM_MAJOR 21) - endif() - - if((${LLVM_VERSION_MAJOR} VERSION_LESS ${MIN_LLVM_MAJOR}) OR (${LLVM_VERSION_MAJOR} VERSION_GREATER ${MAX_LLVM_MAJOR}))
meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace/0002-chrono-Fix-build-when-using-libc-casting-ns-to-syste.patch deleted +0 -54
54 lines not on this page · raw message
meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace/0003-ast-Adapt-to-Clang-LLVM-21-DiagnosticOptions-API.patch deleted +0 -78
78 lines not on this page · raw message
meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.1.bb renamed from meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.0.bb +2 -6
@@ -18,15 +18,11 @@ DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'pahole-native llvm-nativ RDEPENDS:${PN} += "bash python3 xz" RDEPENDS:${PN}-ptest += "bpftool" -SRC_URI = "git://github.com/iovisor/bpftrace;branch=master;protocol=https \ +SRC_URI = "git://github.com/iovisor/bpftrace;branch=release/0.24.x;protocol=https;tag=v${PV} \ file://run-ptest \ - file://0001-cmake-Raise-max-supported-clang-version-to-clang-21.patch \ file://0002-CMakeLists.txt-allow-to-set-BISON_FLAGS-like-l.patch \ - file://0001-Include-missing-c-runtime-headers.patch \ - file://0002-chrono-Fix-build-when-using-libc-casting-ns-to-syste.patch \ - file://0003-ast-Adapt-to-Clang-LLVM-21-DiagnosticOptions-API.patch \ " -SRCREV = "3b78184eed28501ab4bbb55e45c4172538999da1" +SRCREV = "4c1f02a43f993758d445952ccd96e552752defec" inherit bash-completion cmake ptest pkgconfig