From 712af56697ba0c48a244df9b53e26d894319eac7 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Tue, 28 Jan 2025 23:38:54 +0800 Subject: [PATCH] gazelle-pdump is acturally a rename of dpdk-pdump, there is no need rebuilding it again --- dpdk.spec | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/dpdk.spec b/dpdk.spec index fec742c..79b76b3 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -11,7 +11,7 @@ Name: dpdk Version: 23.11 -Release: 26 +Release: 27 URL: http://dpdk.org Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz @@ -212,23 +212,10 @@ CFLAGS="$(echo %{optflags} -fcommon)" \ %meson_build -#build gazelle-pdump -cd %{_vpath_builddir}/app/dpdk-pdump.p -export GAZELLE_FLAGS="-lm -lpthread -lrt -lnuma" -# Remove linking to i40e driver for LoongArch because it was not supported in this version -%ifarch loongarch64 riscv64 -export GAZELLE_LIBS="-lrte_pci -lrte_bus_pci -lrte_cmdline -lrte_hash -lrte_mempool -lrte_mempool_ring -lrte_timer -lrte_eal -lrte_gro -lrte_ring -lrte_mbuf -lrte_telemetry -lrte_net_ixgbe -lrte_kvargs -lrte_net_hinic -lrte_net_virtio -lrte_bus_vdev -lrte_net -lrte_rcu -lrte_ethdev -lrte_pdump -lrte_bpf -lrte_security -lrte_cryptodev -lrte_net_pcap -lrte_metrics" -%else -export GAZELLE_LIBS="-lrte_pci -lrte_bus_pci -lrte_cmdline -lrte_hash -lrte_mempool -lrte_mempool_ring -lrte_timer -lrte_eal -lrte_gro -lrte_ring -lrte_mbuf -lrte_telemetry -lrte_net_ixgbe -lrte_kvargs -lrte_net_hinic -lrte_net_i40e -lrte_net_virtio -lrte_bus_vdev -lrte_net -lrte_rcu -lrte_ethdev -lrte_pdump -lrte_bpf -lrte_security -lrte_cryptodev -lrte_net_pcap -lrte_metrics" -%endif -export SECURE_OPTIONS="-fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -Wall -Wl,-z,relro,-z,now,-z,noexecstack -Wtrampolines -fPIE -pie -fPIC -g" -gcc -o gazelle-pdump ${GAZELLE_FLAGS} ${SOCURE_OPTIONS} -L../../drivers -L../../lib ${GAZELLE_LIBS} pdump_main.c.o -cd - - %install %meson_install -chrpath -d ./%{_vpath_builddir}/app/dpdk-pdump.p/gazelle-pdump +chrpath -d ./%{_vpath_builddir}/app/dpdk-pdump %ifnarch sw_64 chrpath -d ./%{_vpath_builddir}/examples/dpdk-l3fwd %endif @@ -237,7 +224,7 @@ chrpath -d ./%{_vpath_builddir}/examples/dpdk-ethtool chrpath -d ./%{_vpath_builddir}/examples/dpdk-dma chrpath -d ./%{_vpath_builddir}/examples/dpdk-ptpclient -cp ./%{_vpath_builddir}/app/dpdk-pdump.p/gazelle-pdump $RPM_BUILD_ROOT/%{_bindir} +cp ./%{_vpath_builddir}/app/dpdk-pdump $RPM_BUILD_ROOT/%{_bindir}/gazelle-pdump %ifnarch sw_64 cp ./%{_vpath_builddir}/examples/dpdk-l3fwd $RPM_BUILD_ROOT/%{_bindir} %endif @@ -307,6 +294,10 @@ fi /usr/sbin/depmod %changelog +* Tue Jan 28 2025 Funda Wang - 23.11-27 +- gazelle-pdump is acturally a rename of dpdk-pdump, there is + no need rebuilding it again + * Tue Dec 24 2024 jiangheng - 23.11-26 - net/virtio: fix Rx checksum calculation -- Gitee