diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2021-10-26 18:18:33 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2021-10-27 09:54:53 -0700 |
commit | b09a22354f2e86e5e2605292b9b6d555699f33f7 (patch) | |
tree | 5ad01f8a6e81c0f7ff908057d2aab332996a1b00 /dev-util | |
parent | media-video/openshot: bump (diff) | |
download | gentoo-b09a22354f2e86e5e2605292b9b6d555699f33f7.tar.gz gentoo-b09a22354f2e86e5e2605292b9b6d555699f33f7.tar.bz2 gentoo-b09a22354f2e86e5e2605292b9b6d555699f33f7.zip |
dev-util/bpftrace: Fix patch to make sure libaot is installed
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/bpftrace/bpftrace-0.14.0-r2.ebuild (renamed from dev-util/bpftrace/bpftrace-0.14.0-r1.ebuild) | 0 | ||||
-rw-r--r-- | dev-util/bpftrace/files/bpftrace-0.14.0-install-libs.patch | 17 |
2 files changed, 10 insertions, 7 deletions
diff --git a/dev-util/bpftrace/bpftrace-0.14.0-r1.ebuild b/dev-util/bpftrace/bpftrace-0.14.0-r2.ebuild index 483f341c4909..483f341c4909 100644 --- a/dev-util/bpftrace/bpftrace-0.14.0-r1.ebuild +++ b/dev-util/bpftrace/bpftrace-0.14.0-r2.ebuild diff --git a/dev-util/bpftrace/files/bpftrace-0.14.0-install-libs.patch b/dev-util/bpftrace/files/bpftrace-0.14.0-install-libs.patch index dc8e89052602..2e2484a2efe1 100644 --- a/dev-util/bpftrace/files/bpftrace-0.14.0-install-libs.patch +++ b/dev-util/bpftrace/files/bpftrace-0.14.0-install-libs.patch @@ -70,10 +70,18 @@ index 47a050e2..1bbcf882 100644 if (LIBBPF_BTF_DUMP_FOUND) target_include_directories(runtime PUBLIC ${LIBBPF_INCLUDE_DIRS}) diff --git a/src/aot/CMakeLists.txt b/src/aot/CMakeLists.txt -index 291d53f2..308691ee 100644 +index 291d53f2..22944ddc 100644 --- a/src/aot/CMakeLists.txt +++ b/src/aot/CMakeLists.txt -@@ -10,7 +10,7 @@ if(NOT LIBBCC_BPF_CONTAINS_RUNTIME) +@@ -2,6 +2,7 @@ add_library(aot aot.cpp) + target_include_directories(aot PUBLIC ${CMAKE_SOURCE_DIR}/src) + target_include_directories(aot PUBLIC ${CMAKE_BINARY_DIR}) + target_compile_definitions(aot PRIVATE ${BPFTRACE_FLAGS}) ++install(TARGETS aot LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + + # Only build aotrt if supported bcc is used + # (https://github.com/iovisor/bcc/commit/719191867a25ce07dc96f7faf9b8ccedadc7ec44) +@@ -10,7 +11,7 @@ if(NOT LIBBCC_BPF_CONTAINS_RUNTIME) endif() add_executable(bpftrace-aotrt aot_main.cpp) @@ -82,11 +90,6 @@ index 291d53f2..308691ee 100644 install(TARGETS bpftrace-aotrt DESTINATION ${CMAKE_INSTALL_BINDIR}) # Linking -@@ -27,3 +27,4 @@ if(BUILD_ASAN) - target_compile_options(bpftrace-aotrt PUBLIC "-fsanitize=address") - target_link_options(bpftrace-aotrt PUBLIC "-fsanitize=address") - endif() -+install(TARGETS aot LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) diff --git a/src/arch/CMakeLists.txt b/src/arch/CMakeLists.txt index 76bb217e..4ad0f626 100644 --- a/src/arch/CMakeLists.txt |