mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
@@ -1,3 +1,2 @@
|
||||
DIST dpdk-21.11.1.tar.xz 15115156 BLAKE2B 089e98279922b5494b205d957f9ac05001a668f4536d45e5fd89b9f7d04779e0671ec428b2408963641da3ae999d5943a1ff5dc59c23020ccefce824609c8f11 SHA512 d7afc0c918626b1706a18a129086fcd3741b251c28fa00c5711eb85a03137e5ee6e08de7bd5ebe957e442dc9b901314042b382b223e74f0fdd5d560ac657f1b3
|
||||
DIST dpdk-21.11.tar.xz 15102516 BLAKE2B e82fb03242b74e458810ee5e0d21feaf5d6d781b81b8dc5c2a2ab977bac202290dadc8734ea13993bb1cb1df4b5c4d770df574052a384b590ac798d19c370c59 SHA512 843282023c2f77a9b8af393d50c6dde54f09d490cd6f4a99f03d4df5df13a7d963aa86885fdf64e13f9da71e01c881d1f301dd093574a32cddd84f4b1fb58fd5
|
||||
DIST dpdk-22.03.tar.xz 15055548 BLAKE2B 16fb52618e72deba7097e4d920e160e14f1332eed2b8f2f2957f3dd1b847859e6b8b8cd6adef0513cd7bc528a37d4c481f803e8c5badaa299d2bb2af3615e696 SHA512 b3940642f99767323f39470c1e3e0eab7a07bcaca225e2a714b62ba6c59d2c66e4ea17d38e8266f37ed8b5c5c2ad272930fd28f545324ec0a1cb185685e06a5f
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit toolchain-funcs python-single-r1 meson
|
||||
|
||||
DESCRIPTION="Data Plane Development Kit libraries for fast userspace networking"
|
||||
HOMEPAGE="https://dpdk.org/"
|
||||
SRC_URI="https://fast.dpdk.org/rel/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
# tests require rte_kni module to be loaded
|
||||
# and also needs network and /dev access
|
||||
# and need to be run as root
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pyelftools[${PYTHON_USEDEP}]
|
||||
')
|
||||
~sys-kernel/rte_kni-kmod-${PV}[${PYTHON_SINGLE_USEDEP}]
|
||||
app-arch/libarchive
|
||||
app-crypt/intel-ipsec-mb
|
||||
dev-libs/elfutils
|
||||
dev-libs/isa-l
|
||||
dev-libs/jansson
|
||||
dev-libs/libbpf
|
||||
dev-libs/libbsd
|
||||
dev-libs/openssl
|
||||
net-libs/libmnl
|
||||
net-libs/libpcap
|
||||
sys-apps/dtc
|
||||
sys-cluster/rdma-core
|
||||
sys-process/numactl
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-lang/nasm
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/dpdk-21.11-static_linker.patch" )
|
||||
|
||||
src_configure() {
|
||||
python-single-r1_pkg_setup
|
||||
local emesonargs=(
|
||||
-Denable_kmods=false
|
||||
-Dmachine=default
|
||||
-Dplatform=generic
|
||||
-Dstatic_linker=$(tc-getAR)
|
||||
$(meson_use test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
local pyfiles=( "${ED}"/usr/bin/*.py )
|
||||
for pyfile in "${pyfiles[@]}"; do
|
||||
python_fix_shebang "${pyfile}"
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user