X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=pkg%2Fdpdk.spec;h=4d3b5745cca8aa85686136c9db5191daf2fccbfd;hb=c94eb6db0adba3f71fa469dbacffe6fca93a354d;hp=43ff9548b3fd7a9f68e04162494cb24e70308854;hpb=c6dab2a873f65c5a4ea9735aa24d9539426adba4;p=dpdk.git diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec index 43ff9548b3..4d3b5745cc 100644 --- a/pkg/dpdk.spec +++ b/pkg/dpdk.spec @@ -30,7 +30,7 @@ # OF THE POSSIBILITY OF SUCH DAMAGE. Name: dpdk -Version: 16.11 +Version: 18.02 Release: 1 Packager: packaging@6wind.com URL: http://dpdk.org @@ -40,12 +40,18 @@ Summary: Data Plane Development Kit core Group: System Environment/Libraries License: BSD and LGPLv2 and GPLv2 -ExclusiveArch: i686, x86_64 +ExclusiveArch: i686 x86_64 aarch64 +%ifarch aarch64 +%global machine armv8a +%global target arm64-%{machine}-linuxapp-gcc +%global config arm64-%{machine}-linuxapp-gcc +%else %global machine default %global target %{_arch}-%{machine}-linuxapp-gcc %global config %{_arch}-native-linuxapp-gcc +%endif -BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel +BuildRequires: kernel-devel, kernel-headers, libpcap-devel BuildRequires: doxygen, python-sphinx, inkscape BuildRequires: texlive-collection-latexextra @@ -81,7 +87,6 @@ sed -ri 's,(RTE_BUILD_SHARED_LIB=).*,\1y,' %{target}/.config sed -ri 's,(RTE_NEXT_ABI=).*,\1n,' %{target}/.config sed -ri 's,(LIBRTE_VHOST=).*,\1y,' %{target}/.config sed -ri 's,(LIBRTE_PMD_PCAP=).*,\1y,' %{target}/.config -sed -ri 's,(LIBRTE_PMD_XENVIRT=).*,\1y,' %{target}/.config make O=%{target} %{?_smp_mflags} make O=%{target} doc