testing/dpdk: remove execinfo support

(and rename test, as it conflicts with some stuff when sourced)

see:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/36722
https://www.openwall.com/lists/musl/2021/07/16/1
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/22958
This commit is contained in:
psykose 2022-07-30 04:29:33 +00:00
parent 598afecace
commit d1f55cf594
No known key found for this signature in database
2 changed files with 20 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=dpdk
pkgver=22.07
pkgrel=0
pkgrel=1
pkgdesc="Data Plane Development Kit"
url="https://dpdk.org/"
# s390x, riscv64 is not supported
@ -18,7 +18,6 @@ makedepends="
meson
jansson
libbsd-dev
libexecinfo-dev
libpcap-dev
linux-headers
numactl
@ -26,8 +25,10 @@ makedepends="
py3-sphinx
zlib-dev
"
subpackages="$pkgname-test $pkgname-examples $pkgname-static $pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dpdk/dpdk/archive/v$pkgver.tar.gz"
subpackages="$pkgname-test:_test $pkgname-examples $pkgname-static $pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dpdk/dpdk/archive/v$pkgver.tar.gz
no-execinfo.patch
"
build() {
abuild-meson -Denable_docs=true . output
@ -46,9 +47,11 @@ examples() {
amove usr/share/dpdk/examples
}
test() {
_test() {
amove usr/bin/$pkgname-test*
}
sha512sums="
86892f5f61ee8f7ccd61c47767515603683d0e7a217389490a9a5d4ac87b42557572113f4cd56425fef212eff5715095a34ed3c03a3ce6351ffdcacb850b0851 dpdk-22.07.tar.gz
8fc6978a3706bf880490efb486257ab3c305a59b1caf5d8d5e59ed558abe4986b993cb8d7161f6489b9a348cf8acec335cf3e97c34936c4234ea0d9f10c38f7a no-execinfo.patch
"

View File

@ -0,0 +1,12 @@
diff --git a/config/rte_config.h b/config/rte_config.h
index 46549cb..f374677 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -37,7 +37,6 @@
#define RTE_MAX_MEMZONE 2560
#define RTE_MAX_TAILQ 32
#define RTE_LOG_DP_LEVEL RTE_LOG_INFO
-#define RTE_BACKTRACE 1
#define RTE_MAX_VFIO_CONTAINERS 64
/* bsd module defines */