Adapt dpdk fallback

This commit is contained in:
lyn1001 2023-11-03 10:23:14 +08:00
parent 8d010f3090
commit a00da66103

View File

@ -2,7 +2,7 @@
Name: gazelle
Version: 1.0.2
Release: 6
Release: 7
Summary: gazelle is a high performance user-mode stack
License: MulanPSL-2.0
URL: https://gitee.com/openeuler/gazelle
@ -10,7 +10,7 @@ Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake gcc-c++
BuildRequires: lwip >= 2.1.3-78
BuildRequires: dpdk-devel >= 21.11-56
BuildRequires: dpdk-devel >= 19.11-23
BuildRequires: numactl-devel libpcap-devel libconfig-devel libboundscheck uthash-devel
Requires: dpdk >= 19.11-23
@ -41,7 +41,7 @@ ExclusiveArch: x86_64 aarch64
%autosetup -n %{name}-%{version} -p1
%build
#export DPDK_VERSION_1911=1
export DPDK_VERSION_1911=1
cd %{_builddir}/%{name}-%{version}
# Add compile option, ignore map address check. Scenarios: asan test
%if 0%{?gazelle_map_addr_nocheck}
@ -72,6 +72,9 @@ install -Dpm 0640 %{_builddir}/%{name}-%{version}/src/ltran/ltran.conf %{b
%config(noreplace) %{conf_path}/ltran.conf
%changelog
* Fri Nov 3 2023 liyanan <liyanan61@h-parners.com> - 1.0.2-7
- Adapt dpdk fallback
* Sat Oct 14 2023 yinbin6 <yinbin8@huawei.com> - 1.0.2-6
- update lwip version buildrequire