remove dpdk-pmds directory to prevent unnecessary pmd so files load
(cherry picked from commit b080d97559839a18021b1f8db0b27f489a9df5a6)
This commit is contained in:
parent
f9ba49b2fb
commit
bb8f2c78e7
10
dpdk.spec
10
dpdk.spec
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: dpdk
|
Name: dpdk
|
||||||
Version: 23.11
|
Version: 23.11
|
||||||
Release: 10
|
Release: 11
|
||||||
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
|
||||||
|
|
||||||
@ -180,6 +180,9 @@ CFLAGS="$(echo %{optflags} -fcommon)" \
|
|||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
|
# move pmd so files in dpdk-pmds directory to /usr/lib64.
|
||||||
|
# so files in ddpk-pdms directory are loaded by default. remove it to prevent unnecessary so load.
|
||||||
|
mv -f $RPM_BUILD_ROOT/%{pmddir}/* $RPM_BUILD_ROOT/usr/lib64/
|
||||||
ln -fs %{_bindir}/dpdk-devbind.py $RPM_BUILD_ROOT/%{_bindir}/dpdk-devbind
|
ln -fs %{_bindir}/dpdk-devbind.py $RPM_BUILD_ROOT/%{_bindir}/dpdk-devbind
|
||||||
strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
|
strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
|
||||||
|
|
||||||
@ -188,10 +191,8 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
|
|||||||
%if ! %{with shared}
|
%if ! %{with shared}
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%exclude %{_libdir}/*.so*
|
%exclude %{_libdir}/*.so*
|
||||||
%exclude %{pmddir}/*.so*
|
|
||||||
%else
|
%else
|
||||||
%{_libdir}/*.so*
|
%{_libdir}/*.so*
|
||||||
%{pmddir}/*.so*
|
|
||||||
%exclude %{_libdir}/*.a
|
%exclude %{_libdir}/*.a
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/dpdk-*.py
|
%{_bindir}/dpdk-*.py
|
||||||
@ -223,6 +224,9 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 21 2024 yinbin <yinbin8@huawei.com> - 23.11-11
|
||||||
|
remove dpdk-pmds directory to prevent unnecessary pmd so files load
|
||||||
|
|
||||||
* Fri Apr 12 2024 huangdengdui <huangdengui@huawei.com> - 23.11-10
|
* Fri Apr 12 2024 huangdengdui <huangdengui@huawei.com> - 23.11-10
|
||||||
Sync some patches for hns3 about PFC and RSS
|
Sync some patches for hns3 about PFC and RSS
|
||||||
- net/hns3: support new device
|
- net/hns3: support new device
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user