From 9351170566354898a97088f280f180471ffc4c39 Mon Sep 17 00:00:00 2001 From: Leo Yan Date: Wed, 26 Feb 2020 03:02:20 +0000 Subject: BCC: Upgrade to v0.13.0 Since Clang has been upgraded to 10.0.0, it leads to BCC building failure which is caused by LLVM functions definition mismatching. This patch upgrades BCC to v0.13.0 so can support Clang 10.0.0. Signed-off-by: Leo Yan --- ...1-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'recipes-devtools/bcc/bcc/0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch') diff --git a/recipes-devtools/bcc/bcc/0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch b/recipes-devtools/bcc/bcc/0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch index b5acadc..7b09df6 100644 --- a/recipes-devtools/bcc/bcc/0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch +++ b/recipes-devtools/bcc/bcc/0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch @@ -1,4 +1,4 @@ -From 93cf25ba663e68a6a6f4237fbe0ef8349b3f37ef Mon Sep 17 00:00:00 2001 +From cb13627f25a7af1b54a395eb59e5d7f7786e609d Mon Sep 17 00:00:00 2001 From: Sumit Garg Date: Fri, 14 Feb 2020 07:40:11 +0000 Subject: [PATCH] Allow to build with OE LLVM cross compiled package @@ -16,7 +16,7 @@ Signed-off-by: Sumit Garg 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 7bd0f3b2..6f1f12c0 100644 +index f1916b55..f16d84c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,8 +39,6 @@ endif() @@ -26,7 +26,8 @@ index 7bd0f3b2..6f1f12c0 100644 -find_package(LLVM REQUIRED CONFIG) -message(STATUS "Found LLVM: ${LLVM_INCLUDE_DIRS} ${LLVM_PACKAGE_VERSION}") find_package(LibElf REQUIRED) - - # clang is linked as a library, but the library path searching is --- + + if(CLANG_DIR) +-- 2.17.1 + -- cgit v1.2.3-54-g00ecf