mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
community/bpftrace: use default strip again
The stripping issue was resolved upstream Ref https://github.com/bpftrace/bpftrace/issues/954#issuecomment-2711213276
This commit is contained in:
parent
e9df161d6f
commit
30f4bacc37
1 changed files with 2 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
||||||
# Maintainer: Adam Jensen <adam@acj.sh>
|
# Maintainer: Adam Jensen <adam@acj.sh>
|
||||||
pkgname=bpftrace
|
pkgname=bpftrace
|
||||||
pkgver=0.23.5
|
pkgver=0.23.5
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="High-level tracing language for Linux eBPF"
|
pkgdesc="High-level tracing language for Linux eBPF"
|
||||||
url="https://github.com/iovisor/bpftrace"
|
url="https://github.com/iovisor/bpftrace"
|
||||||
arch="all !x86" # x86 unsupported
|
arch="all !x86" # x86 unsupported
|
||||||
|
@ -30,9 +30,7 @@ makedepends="
|
||||||
"
|
"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/iovisor/bpftrace/archive/v$pkgver.tar.gz"
|
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.
|
# Tests require root, network to download gmock and a few tests fail.
|
||||||
# Stripping is done ourselves to keep the BEGIN_trigger symbol required
|
options="!check"
|
||||||
# for BEGIN probe (see https://github.com/iovisor/bpftrace/issues/954 )
|
|
||||||
options="!check !strip"
|
|
||||||
subpackages="$pkgname-doc:doc $pkgname-tools:tools:noarch $pkgname-tools-doc:tools_doc"
|
subpackages="$pkgname-doc:doc $pkgname-tools:tools:noarch $pkgname-tools-doc:tools_doc"
|
||||||
|
|
||||||
check_bcc_clang() {
|
check_bcc_clang() {
|
||||||
|
@ -62,10 +60,6 @@ build() {
|
||||||
# Main package contains only bpftrace binary.
|
# Main package contains only bpftrace binary.
|
||||||
package() {
|
package() {
|
||||||
DESTDIR="$pkgdir" cmake --install build
|
DESTDIR="$pkgdir" cmake --install build
|
||||||
strip --keep-symbol BEGIN_trigger \
|
|
||||||
--keep-symbol END_trigger \
|
|
||||||
"$pkgdir"/usr/bin/bpftrace \
|
|
||||||
"$pkgdir"/usr/bin/bpftrace-aotrt
|
|
||||||
|
|
||||||
mv "$pkgdir/usr/share/bpftrace/tools/doc" "$pkgdir/usr/share/bpftrace/tools_doc"
|
mv "$pkgdir/usr/share/bpftrace/tools/doc" "$pkgdir/usr/share/bpftrace/tools_doc"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue