From ec5bc3b8bf9ac0478cc06e70656b9512d75aefcc Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Jul 10 2014 19:52:18 +0000 Subject: Updating dpdk to official 1.7.0 release --- diff --git a/.gitignore b/.gitignore index 60c9a74..73cccc7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /dpdk-1.7.0-20140603git5ebbb1728.tgz +/dpdk-1.7.0.tar.gz diff --git a/common_linuxapp b/common_linuxapp index 8e22ecd..c2934fb 100644 --- a/common_linuxapp +++ b/common_linuxapp @@ -1,12 +1,12 @@ # BSD LICENSE -# +# # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: -# +# # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -16,7 +16,7 @@ # * Neither the name of Intel Corporation nor the names of its # contributors may be used to endorse or promote products derived # from this software without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -33,7 +33,7 @@ # # define executive environment # -# CONFIG_RTE_EXEC_ENV can be linuxapp, baremetal +# CONFIG_RTE_EXEC_ENV can be linuxapp, baremetal, bsdapp # CONFIG_RTE_EXEC_ENV="linuxapp" CONFIG_RTE_EXEC_ENV_LINUXAPP=y @@ -123,6 +123,15 @@ CONFIG_RTE_LOG_HISTORY=256 CONFIG_RTE_LIBEAL_USE_HPET=n CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n +CONFIG_RTE_EAL_IGB_UIO=n +CONFIG_RTE_EAL_VFIO=y + +# +# Special configurations in PCI Config Space for high performance +# +CONFIG_RTE_PCI_CONFIG=n +CONFIG_RTE_PCI_EXTENDED_TAG="" +CONFIG_RTE_PCI_MAX_READ_REQUEST_SIZE=0 # # Compile Environment Abstraction Layer for linux @@ -136,7 +145,7 @@ CONFIG_RTE_LIBRTE_EAL_BAREMETAL=n # # Compile Environment Abstraction Layer to support Vmware TSC map -# +# CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y # @@ -154,10 +163,15 @@ CONFIG_RTE_LIBRTE_IEEE1588=n CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16 # +# Support NIC bypass logic +# +CONFIG_RTE_NIC_BYPASS=n + +# # Compile burst-oriented IGB & EM PMD drivers # -CONFIG_RTE_LIBRTE_EM_PMD=n -CONFIG_RTE_LIBRTE_IGB_PMD=n +CONFIG_RTE_LIBRTE_EM_PMD=y +CONFIG_RTE_LIBRTE_IGB_PMD=y CONFIG_RTE_LIBRTE_E1000_DEBUG_INIT=n CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n @@ -168,7 +182,7 @@ CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n # # Compile burst-oriented IXGBE PMD driver # -CONFIG_RTE_LIBRTE_IXGBE_PMD=n +CONFIG_RTE_LIBRTE_IXGBE_PMD=y CONFIG_RTE_LIBRTE_IXGBE_DEBUG_INIT=n CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n @@ -177,6 +191,25 @@ CONFIG_RTE_LIBRTE_IXGBE_DEBUG_DRIVER=n CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n CONFIG_RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC=y CONFIG_RTE_LIBRTE_IXGBE_ALLOW_UNSUPPORTED_SFP=n +CONFIG_RTE_IXGBE_INC_VECTOR=y +CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=y + +# +# Compile burst-oriented I40E PMD driver +# +CONFIG_RTE_LIBRTE_I40E_PMD=y +CONFIG_RTE_LIBRTE_I40E_DEBUG_INIT=n +CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n +CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n +CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n +CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER=n +CONFIG_RTE_LIBRTE_I40E_PF_DISABLE_STRIP_CRC=n +CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y +CONFIG_RTE_LIBRTE_I40E_ALLOW_UNSUPPORTED_SFP=n +CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n +CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=4 +# interval up to 8160 us, aligned to 2 (or default value) +CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=-1 # # Compile burst-oriented VIRTIO PMD driver @@ -210,7 +243,14 @@ CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16 # CONFIG_RTE_LIBRTE_PMD_PCAP=y +# +# Compile link bonding PMD library +# +CONFIG_RTE_LIBRTE_PMD_BOND=y +# +# Compile Xen PMD +# CONFIG_RTE_LIBRTE_PMD_XENVIRT=n # @@ -255,6 +295,11 @@ CONFIG_RTE_LIBRTE_MALLOC_DEBUG=n CONFIG_RTE_MALLOC_MEMZONE_SIZE=11M # +# Compile librte_cfgfile +# +CONFIG_RTE_LIBRTE_CFGFILE=y + +# # Compile librte_cmdline # CONFIG_RTE_LIBRTE_CMDLINE=y @@ -273,6 +318,13 @@ CONFIG_RTE_LIBRTE_LPM=y CONFIG_RTE_LIBRTE_LPM_DEBUG=n # +# Compile librte_acl +# +CONFIG_RTE_LIBRTE_ACL=y +CONFIG_RTE_LIBRTE_ACL_DEBUG=n +CONFIG_RTE_LIBRTE_ACL_STANDALONE=n + +# # Compile librte_power # CONFIG_RTE_LIBRTE_POWER=y @@ -285,6 +337,14 @@ CONFIG_RTE_MAX_LCORE_FREQS=64 CONFIG_RTE_LIBRTE_NET=y # +# Compile librte_ip_frag +# +CONFIG_RTE_LIBRTE_IP_FRAG=y +CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n +CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4 +CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n + +# # Compile librte_meter # CONFIG_RTE_LIBRTE_METER=y @@ -299,10 +359,29 @@ CONFIG_RTE_SCHED_SUBPORT_TC_OV=n CONFIG_RTE_SCHED_PORT_N_GRINDERS=8 # -# Compile the test application +# Compile the distributor library +# +CONFIG_RTE_LIBRTE_DISTRIBUTOR=y + +# +# Compile librte_port +# +CONFIG_RTE_LIBRTE_PORT=y + +# +# Compile librte_table +# +CONFIG_RTE_LIBRTE_TABLE=y + +# +# Compile librte_pipeline +# +CONFIG_RTE_LIBRTE_PIPELINE=y + +# # Compile librte_kni # -CONFIG_RTE_LIBRTE_KNI=y +CONFIG_RTE_LIBRTE_KNI=n CONFIG_RTE_KNI_KO_DEBUG=n CONFIG_RTE_KNI_VHOST=n CONFIG_RTE_KNI_VHOST_MAX_CACHE_SIZE=1024 @@ -331,9 +410,3 @@ CONFIG_RTE_APP_TEST=y CONFIG_RTE_TEST_PMD=y CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n - -# -# Support NIC bypass logic -# -CONFIG_RTE_NIC_BYPASS=n - diff --git a/defconfig_i686-default-linuxapp-gcc b/defconfig_i686-default-linuxapp-gcc deleted file mode 100644 index 6aaf124..0000000 --- a/defconfig_i686-default-linuxapp-gcc +++ /dev/null @@ -1,68 +0,0 @@ -# BSD LICENSE -# -# Copyright(c) 2010-2014 Intel Corporation. All rights reserved. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of Intel Corporation nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -#include "common_linuxapp" - -# -# machine can define specific variables or action for a specific board -# RTE_MACHINE can be: -# default nothing specific -# native current machine -# atm Intel® Atom™ microarchitecture -# nhm Intel® microarchitecture code name Nehalem -# wsm Intel® microarchitecture code name Westmere -# snb Intel® microarchitecture code name Sandy Bridge -# ivb Intel® microarchitecture code name Ivy Bridge -# -# Note: if your compiler does not support the relevant -march options, -# it will be compiled with whatever latest processor the compiler supports! -# -CONFIG_RTE_MACHINE="default" - -# -# define the architecture we compile for. -# CONFIG_RTE_ARCH can be i686, x86_64, x86_64_32 -# -CONFIG_RTE_ARCH="i686" -CONFIG_RTE_ARCH_I686=y - -# -# The compiler we use. -# Can be gcc or icc. -# -CONFIG_RTE_TOOLCHAIN="gcc" -CONFIG_RTE_TOOLCHAIN_GCC=y - -# -# KNI is not supported on 32-bit -# -CONFIG_RTE_LIBRTE_KNI=n diff --git a/defconfig_i686-native-linuxapp-gcc b/defconfig_i686-native-linuxapp-gcc new file mode 100644 index 0000000..61d8cc7 --- /dev/null +++ b/defconfig_i686-native-linuxapp-gcc @@ -0,0 +1,73 @@ +# BSD LICENSE +# +# Copyright(c) 2010-2014 Intel Corporation. All rights reserved. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of Intel Corporation nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +#include "common_linuxapp" + +# +# machine can define specific variables or action for a specific board +# RTE_MACHINE can be: +# default nothing specific +# native current machine +# atm Intel® Atom™ microarchitecture +# nhm Intel® microarchitecture code name Nehalem +# wsm Intel® microarchitecture code name Westmere +# snb Intel® microarchitecture code name Sandy Bridge +# ivb Intel® microarchitecture code name Ivy Bridge +# +# Note: if your compiler does not support the relevant -march options, +# it will be compiled with whatever latest processor the compiler supports! +# +CONFIG_RTE_MACHINE="native" + +# +# define the architecture we compile for. +# CONFIG_RTE_ARCH can be i686, x86_64, x86_64_32 +# +CONFIG_RTE_ARCH="i686" +CONFIG_RTE_ARCH_I686=y + +# +# The compiler we use. +# Can be gcc or icc. +# +CONFIG_RTE_TOOLCHAIN="gcc" +CONFIG_RTE_TOOLCHAIN_GCC=y + +# +# KNI is not supported on 32-bit +# +CONFIG_RTE_LIBRTE_KNI=n + +# +# Vectorized PMD is not supported on 32-bit +# +CONFIG_RTE_IXGBE_INC_VECTOR=n diff --git a/defconfig_x86_64-default-linuxapp-gcc b/defconfig_x86_64-default-linuxapp-gcc deleted file mode 100644 index 7380e16..0000000 --- a/defconfig_x86_64-default-linuxapp-gcc +++ /dev/null @@ -1,68 +0,0 @@ -# BSD LICENSE -# -# Copyright(c) 2010-2014 Intel Corporation. All rights reserved. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of Intel Corporation nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -#include "common_linuxapp" - -# -# machine can define specific variables or action for a specific board -# RTE_MACHINE can be: -# default nothing specific -# native current machine -# atm Intel® Atom™ microarchitecture -# nhm Intel® microarchitecture code name Nehalem -# wsm Intel® microarchitecture code name Westmere -# snb Intel® microarchitecture code name Sandy Bridge -# ivb Intel® microarchitecture code name Ivy Bridge -# -# Note: if your compiler does not support the relevant -march options, -# it will be compiled with whatever latest processor the compiler supports! -# -CONFIG_RTE_MACHINE="default" - -# -# define the architecture we compile for. -# CONFIG_RTE_ARCH can be i686, x86_64, x86_64_32 -# -CONFIG_RTE_ARCH="x86_64" -CONFIG_RTE_ARCH_X86_64=y - -# -# The compiler we use. -# Can be gcc or icc. -# -CONFIG_RTE_TOOLCHAIN="gcc" -CONFIG_RTE_TOOLCHAIN_GCC=y - -# -# KNI is not supported on fedora -# -CONFIG_RTE_LIBRTE_KNI=n diff --git a/defconfig_x86_64-native-linuxapp-gcc b/defconfig_x86_64-native-linuxapp-gcc new file mode 100644 index 0000000..54d71f9 --- /dev/null +++ b/defconfig_x86_64-native-linuxapp-gcc @@ -0,0 +1,63 @@ +# BSD LICENSE +# +# Copyright(c) 2010-2014 Intel Corporation. All rights reserved. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of Intel Corporation nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +#include "common_linuxapp" + +# +# machine can define specific variables or action for a specific board +# RTE_MACHINE can be: +# default nothing specific +# native current machine +# atm Intel® Atom™ microarchitecture +# nhm Intel® microarchitecture code name Nehalem +# wsm Intel® microarchitecture code name Westmere +# snb Intel® microarchitecture code name Sandy Bridge +# ivb Intel® microarchitecture code name Ivy Bridge +# +# Note: if your compiler does not support the relevant -march options, +# it will be compiled with whatever latest processor the compiler supports! +# +CONFIG_RTE_MACHINE="native" + +# +# define the architecture we compile for. +# CONFIG_RTE_ARCH can be i686, x86_64, x86_64_32 +# +CONFIG_RTE_ARCH="x86_64" +CONFIG_RTE_ARCH_X86_64=y + +# +# The compiler we use. +# Can be gcc or icc. +# +CONFIG_RTE_TOOLCHAIN="gcc" +CONFIG_RTE_TOOLCHAIN_GCC=y diff --git a/dpdk.spec b/dpdk.spec index 5ec9860..a9f6aee 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -1,28 +1,20 @@ -%global rel 0.10 +%global rel 1.0 # As per packaging guidelines, since dpdk is pre-release, this is the git hash # that I used with git archive to build the source tarball and the date on which # I did it -%global upstreamtag 20140603git5ebbb1728 Name: dpdk Version: 1.7.0 -Release: %{rel}.%{upstreamtag}%{?dist} +Release: %{rel}%{?dist} URL: http://dpdk.org -Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{version}-%{upstreamtag}.tgz -Source1: defconfig_x86_64-default-linuxapp-gcc -Source2: defconfig_i686-default-linuxapp-gcc +Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{version}.tar.gz +Source1: defconfig_x86_64-native-linuxapp-gcc +Source2: defconfig_i686-native-linuxapp-gcc Source3: common_linuxapp -# -# Currently the igb_uio module doesn't have a configuration option to disable -# itself in dpdk. Since we don't build kernel modules as part of user space -# pacakges, this patch manually removes the Makefile directives to build it -# This can be dropped when upstream makes this configurable -# -Patch0: dpdk-1.7.0-igb_uio_disable.patch -Patch1: dpdk-debug.patch -Patch2: dpdk-link-using-cc.patch +Patch0: dpdk-debug.patch + Summary: Data Plane Development Kit core @@ -40,14 +32,15 @@ License: BSD and LGPLv2 and GPLv2 # ExclusiveArch: %{ix86} x86_64 +%global machine native + %ifarch x86_64 -%global target x86_64-default-linuxapp-gcc +%global target x86_64-%{machine}-linuxapp-gcc %else -%global target i686-default-linuxapp-gcc +%global target i686-%{machine}-linuxapp-gcc %endif -%global machine default BuildRequires: kernel-devel, kernel-headers, libpcap-devel, doxygen @@ -85,20 +78,19 @@ cp %{SOURCE1} ./config/ cp %{SOURCE2} ./config/ cp %{SOURCE3} ./config/ %patch0 -p1 -%patch1 -p1 -%patch2 -p1 %build # need to enable debuginfo #Note that RPM_OPT_FLAGS is not being used here as it conflicts with #Flags that the package sets. -make V=1 O=%{target} T=%{target} %{?_smp_mflags} config -make V=1 O=%{target} %{?_smp_mflags} -make V=1 O=%{target} %{?_smp_mflags} doc +make V=1 O=%{target} T=%{target} config +make V=1 O=%{target} +make V=1 O=%{target} doc %install make V=1 O=%{target} DESTDIR=%{destdir} +find %{destdir} -name '*.orig' | xargs rm -f mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_libdir}/%{name}-%{version} mkdir -p %{buildroot}%{_includedir}/%{name}-%{version} @@ -142,7 +134,10 @@ cp -a tools %{buildroot}%{datadir} %exclude %{docdir}/html %changelog -* Wed Jul 03 2014 - Neil Horman +* Thu Jul 10 2014 - Neil Horman - 1.0.7-1.0 +- Update source to official 1.7.0 release + +* Thu Jul 03 2014 - Neil Horman - Fixing up release numbering * Tue Jul 01 2014 - Neil Horman - 1.0.7-0.9.1.20140603git5ebbb1728 diff --git a/sources b/sources index c4d0dd0..3424e9e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -70de60182a0d48b58431dae2f6921db4 dpdk-1.7.0-20140603git5ebbb1728.tgz +fb44b52b0f19508d0ffab2af24b29205 dpdk-1.7.0.tar.gz