Modify the writing of loongarch64 judgments
(cherry picked from commit 93c3edbe00cb6b26895b284499e6f737eb23f5a4)
This commit is contained in:
parent
787efdfd24
commit
d0f7eb29de
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: dpdk
|
Name: dpdk
|
||||||
Version: 23.11
|
Version: 23.11
|
||||||
Release: 12
|
Release: 13
|
||||||
URL: http://dpdk.org
|
URL: http://dpdk.org
|
||||||
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
||||||
|
|
||||||
@ -182,7 +182,7 @@ CFLAGS="$(echo %{optflags} -fcommon)" \
|
|||||||
cd %{_vpath_builddir}/app/dpdk-pdump.p
|
cd %{_vpath_builddir}/app/dpdk-pdump.p
|
||||||
export GAZELLE_FLAGS="-lm -lpthread -lrt -lnuma"
|
export GAZELLE_FLAGS="-lm -lpthread -lrt -lnuma"
|
||||||
# Remove linking to i40e driver for LoongArch because it was not supported in this version
|
# Remove linking to i40e driver for LoongArch because it was not supported in this version
|
||||||
%if "%{arch_type}" == "loongarch64"
|
%ifarch loongarch64
|
||||||
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"
|
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
|
%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"
|
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"
|
||||||
@ -242,6 +242,9 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 24 2024 Huang Yang <huangyang@loongson.cn> - 23.11-13
|
||||||
|
- Modify the writing of loongarch64 judgments
|
||||||
|
|
||||||
* Mon Apr 22 2024 yinbin <yinbin8@huawei.com> - 23.11-12
|
* Mon Apr 22 2024 yinbin <yinbin8@huawei.com> - 23.11-12
|
||||||
add gazelle-pdump
|
add gazelle-pdump
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user