diff --git a/srcpkgs/bcc/template b/srcpkgs/bcc/template index 9e62cdfffc1..83dfedccc61 100644 --- a/srcpkgs/bcc/template +++ b/srcpkgs/bcc/template @@ -1,7 +1,7 @@ # Template file for 'bcc' pkgname=bcc -version=0.29.1 -revision=2 +version=0.30.0 +revision=1 build_style=cmake configure_args="-DREVISION=${version} -DENABLE_LLVM_SHARED=1" hostmakedepends="flex python3-setuptools" @@ -13,9 +13,15 @@ maintainer="Leah Neukirchen " license="Apache-2.0" homepage="https://github.com/iovisor/bcc" distfiles="https://github.com/iovisor/bcc/releases/download/v${version}/bcc-src-with-submodule.tar.gz>bcc-${version}.tar.gz" -checksum=321575fa94f3274040379dd2d4535217f45099f4240b58a4dfc171aa8c78402f +checksum=c74ed8055a72625a5df341e067c67e02ac3d94a2e765505a17b723ffe6d77aca python_version="3" +# bug in llvm17-devel dependencies +case "$XBPS_TARGET_MACHINE" in +x86_64*|aarch64*) + makedepends+=" libomp-devel" +esac + post_extract() { sed -i '/tests/d' CMakeLists.txt # break on musl sed -i 's///' examples/cpp/KModRetExample.cc