X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=pkg%2Fdpdk.spec;h=e38e2a2dbfd4af35a071ed70904008ae4b749435;hb=b79e4c00af0e7cfb8601ab0208659d226b82bd10;hp=43ff9548b3fd7a9f68e04162494cb24e70308854;hpb=c6dab2a873f65c5a4ea9735aa24d9539426adba4;p=dpdk.git diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec index 43ff9548b3..e38e2a2dbf 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: 17.05 Release: 1 Packager: packaging@6wind.com URL: http://dpdk.org @@ -40,12 +40,21 @@ 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 +%ifarch i686 x86_64 +BuildRequires: xen-devel +%endif BuildRequires: doxygen, python-sphinx, inkscape BuildRequires: texlive-collection-latexextra @@ -81,7 +90,9 @@ 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 +%ifarch i686 x86_64 sed -ri 's,(LIBRTE_PMD_XENVIRT=).*,\1y,' %{target}/.config +%endif make O=%{target} %{?_smp_mflags} make O=%{target} doc