Skip to content

Commit

Permalink
bcc: Upgrade to 0.28.0
Browse files Browse the repository at this point in the history
Add python3-setuptools-native to depends

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Jul 6, 2023
1 parent d73932b commit e1006be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ Cc: Hengqi Chen <[email protected]>
tests/cc/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/tests/cc/CMakeLists.txt b/tests/cc/CMakeLists.txt
index bc870b07..b45f2369 100644
--- a/tests/cc/CMakeLists.txt
+++ b/tests/cc/CMakeLists.txt
@@ -23,6 +23,10 @@ add_compile_options(-DCMAKE_CURRENT_BINARY_DIR="${CMAKE_CURRENT_BINARY_DIR}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-result -fPIC")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-result -fPIC")
@@ -27,6 +27,10 @@ if(${LLVM_PACKAGE_VERSION} VERSION_EQUAL
set(CMAKE_CXX_STANDARD 14)
endif()

+if(${LLVM_PACKAGE_VERSION} VERSION_EQUAL 16 OR ${LLVM_PACKAGE_VERSION} VERSION_GREATER 16)
+set(CMAKE_CXX_STANDARD 14)
Expand All @@ -29,6 +27,3 @@ index bc870b07..b45f2369 100644
if(ENABLE_USDT)
set(TEST_LIBBCC_SOURCES
test_libbcc.cc
--
2.39.2

Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ DEPENDS += "bison-native \
${LUAJIT} \
clang \
libbpf \
python3-setuptools-native \
"

LUAJIT ?= "luajit"
Expand All @@ -33,7 +34,7 @@ SRC_URI = "gitsm://github.com/iovisor/bcc;branch=master;protocol=https \
file://ptest_wrapper.sh \
"

SRCREV = "9b5af1b0c140c8dbcbd9b821dccf2f7fceb6429c"
SRCREV = "8422cd449ad2e60414a4508aa4a150a9db39c4a3"

PV .= "+git${SRCPV}"

Expand Down

0 comments on commit e1006be

Please sign in to comment.