aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-29 09:31:16 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-10-04 14:16:34 +0000
commitfaf9e058f8bf78b1c04bd44c6b0fa29862bfc44a (patch)
tree6b0d131ec207efe8aac675b59f82f31b4e7fc132
parent4f997b7f6d578df529b2506592544dcd5d3b2b30 (diff)
downloadaports-faf9e058f8bf78b1c04bd44c6b0fa29862bfc44a.tar.gz
aports-faf9e058f8bf78b1c04bd44c6b0fa29862bfc44a.tar.bz2
aports-faf9e058f8bf78b1c04bd44c6b0fa29862bfc44a.tar.xz
testing/bpftrace: rebuild against libLLVM-9.so
-rw-r--r--testing/bpftrace/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/bpftrace/APKBUILD b/testing/bpftrace/APKBUILD
index bb44725457..513e7600a3 100644
--- a/testing/bpftrace/APKBUILD
+++ b/testing/bpftrace/APKBUILD
@@ -2,18 +2,18 @@
# Maintainer: Konstantin Kulikov <k.kulikov2@gmail.com>
pkgname=bpftrace
pkgver=0.9.2
-pkgrel=1
+pkgrel=2
pkgdesc="High-level tracing language for Linux eBPF"
url="https://github.com/iovisor/bpftrace"
arch="x86_64"
license="Apache-2.0"
-makedepends="cmake llvm8-dev llvm8-static clang-dev clang-static
+makedepends="cmake llvm9-dev llvm9-static clang-dev clang-static
flex-dev bison elfutils-dev linux-headers bcc-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/iovisor/bpftrace/archive/v$pkgver.tar.gz"
# Tests require root, network to download gmock and a few tests fail.
options="!check"
builddir="$srcdir/$pkgname-$pkgver/build"
-subpackages="$pkgname-doc $pkgname-tools $pkgname-tools-doc:tools_doc"
+subpackages="$pkgname-doc $pkgname-tools:tools:noarch $pkgname-tools-doc:tools_doc"
prepare() {
default_prepare
@@ -27,7 +27,7 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DBUILD_TESTING:BOOL=OFF \
- -DLLVM_REQUESTED_VERSION=8 \
+ -DLLVM_REQUESTED_VERSION=9 \
..
make
}