Blame SPECS/dpdk.spec

15b5e9
# Add option to build as static libraries (--without shared)
15b5e9
%bcond_without shared
15b5e9
# Add option to build with examples
15b5e9
%bcond_with examples
15b5e9
# Add option to build without tools
15b5e9
%bcond_without tools
15b5e9
15b5e9
# Dont edit Version: and Release: directly, only these:
95b418
%define ver 16.11.2
95b418
%define rel 4
95b418
95b418
%define srcname dpdk-stable
15b5e9
# Define when building git snapshots
15b5e9
#define snapver 2086.git263333bb
15b5e9
15b5e9
%define srcver %{ver}%{?snapver:-%{snapver}}
15b5e9
15b5e9
Name: dpdk
15b5e9
Version: %{ver}
15b5e9
Release: %{?snapver:0.%{snapver}.}%{rel}%{?dist}
15b5e9
URL: http://dpdk.org
95b418
Source: http://dpdk.org/browse/%{srcname}/snapshot/%{srcname}-%{srcver}.tar.xz
95b418
Patch0: mk-move-PMD-libraries-linking-to-applications.patch
95b418
Patch1: net-i40e-implement-vector-PMD-for-altivec.patch
95b418
Patch2: eal-ppc-support-sPAPR-IOMMU-for-vfio-pci.patch
95b418
Patch3: eal-ppc-fix-mmap-for-memory-initialization.patch
15b5e9
15b5e9
# Only needed for creating snapshot tarballs, not used in build itself
15b5e9
Source100: dpdk-snapshot.sh
15b5e9
15b5e9
Summary: Set of libraries and drivers for fast packet processing
15b5e9
15b5e9
#
15b5e9
# Note that, while this is dual licensed, all code that is included with this
15b5e9
# Pakcage are BSD licensed. The only files that aren't licensed via BSD is the
15b5e9
# kni kernel module which is dual LGPLv2/BSD, and thats not built for fedora.
15b5e9
#
15b5e9
License: BSD and LGPLv2 and GPLv2
15b5e9
15b5e9
#
15b5e9
# The DPDK is designed to optimize througput of network traffic using, among
95b418
# other techniques, carefully crafted assembly instructions.  As such it
95b418
# needs extensive work to port it to other architectures.
95b418
ExclusiveArch: x86_64 i686 aarch64 ppc64le
95b418
95b418
# machine_arch maps between rpm and dpdk arch name, often same as _target_cpu
95b418
# machine_tmpl is the config template machine name, often "native"
95b418
# machine is the actual machine name used in the dpdk make system
95b418
%ifarch x86_64
95b418
%define machine_arch x86_64
95b418
%define machine_tmpl native
95b418
%define machine default
95b418
%endif
95b418
%ifarch i686
95b418
%define machine_arch i686
95b418
%define machine_tmpl native
95b418
%define machine atm
95b418
%endif
95b418
%ifarch aarch64
95b418
%define machine_arch arm64
95b418
%define machine_tmpl armv8a
95b418
%define machine armv8a
95b418
%endif
95b418
%ifarch ppc64le
95b418
%define machine_arch ppc_64
95b418
%define machine_tmpl power8
95b418
%define machine power8
95b418
%endif
15b5e9
95b418
%define target %{machine_arch}-%{machine_tmpl}-linuxapp-gcc
15b5e9
ccb313
%define sdkdir  %{_datadir}/%{name}
ccb313
%define docdir  %{_docdir}/%{name}
ccb313
%define incdir  %{_includedir}/%{name}
ccb313
%define pmddir %{_libdir}/%{name}-pmds
ccb313
ccb313
BuildRequires: kernel-headers, libpcap-devel, zlib-devel, numactl-devel
15b5e9
BuildRequires: doxygen, python-sphinx
15b5e9
15b5e9
%description
15b5e9
The Data Plane Development Kit is a set of libraries and drivers for
15b5e9
fast packet processing in the user space.
15b5e9
15b5e9
%package devel
15b5e9
Summary: Data Plane Development Kit development files
15b5e9
Requires: %{name}%{?_isa} = %{version}-%{release}
15b5e9
%if ! %{with shared}
15b5e9
Provides: %{name}-static = %{version}-%{release}
15b5e9
%endif
15b5e9
15b5e9
%description devel
15b5e9
This package contains the headers and other files needed for developing
15b5e9
applications with the Data Plane Development Kit.
15b5e9
15b5e9
%package doc
15b5e9
Summary: Data Plane Development Kit API documentation
15b5e9
BuildArch: noarch
15b5e9
15b5e9
%description doc
15b5e9
API programming documentation for the Data Plane Development Kit.
15b5e9
15b5e9
%if %{with tools}
15b5e9
%package tools
15b5e9
Summary: Tools for setting up Data Plane Development Kit environment
15b5e9
Requires: kmod pciutils findutils iproute
15b5e9
15b5e9
%description tools
15b5e9
%{summary}
15b5e9
%endif
15b5e9
15b5e9
%if %{with examples}
15b5e9
%package examples
15b5e9
Summary: Data Plane Development Kit example applications
15b5e9
BuildRequires: libvirt-devel
15b5e9
15b5e9
%description examples
15b5e9
Example applications utilizing the Data Plane Development Kit, such
15b5e9
as L2 and L3 forwarding.
15b5e9
%endif
15b5e9
15b5e9
%prep
95b418
%setup -q -n %{srcname}-%{srcver}
95b418
%patch0 -p1
95b418
%patch1 -p1
95b418
%patch2 -p1
95b418
%patch3 -p1
15b5e9
15b5e9
%build
15b5e9
function setconf()
15b5e9
{
15b5e9
    cf=%{target}/.config
ccb313
    if grep -q ^$1= $cf; then
15b5e9
        sed -i "s:^$1=.*$:$1=$2:g" $cf
15b5e9
    else
15b5e9
        echo $1=$2 >> $cf
15b5e9
    fi
15b5e9
}
15b5e9
# In case dpdk-devel is installed
15b5e9
unset RTE_SDK RTE_INCLUDE RTE_TARGET
15b5e9
95b418
# Avoid appending second -Wall to everything, it breaks upstream warning
95b418
# disablers in makefiles. Strip expclit -march= from optflags since they
95b418
# will only guarantee build failures, DPDK is picky with that.
95b418
export EXTRA_CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g') -Wformat -fPIC"
95b418
95b418
# DPDK defaults to using builder-specific compiler flags.  However,
95b418
# the config has been changed by specifying CONFIG_RTE_MACHINE=default
95b418
# in order to build for a more generic host.  NOTE: It is possible that
95b418
# the compiler flags used still won't work for all Fedora-supported
95b418
# machines, but runtime checks in DPDK will catch those situations.
15b5e9
15b5e9
make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
15b5e9
95b418
setconf CONFIG_RTE_MACHINE '"%{machine}"'
15b5e9
ccb313
# Enable automatic driver loading from this path
ccb313
setconf CONFIG_RTE_EAL_PMD_PATH '"%{pmddir}"'
ccb313
95b418
# Enable pcap and vhost-numa build, the added deps are ok for us
15b5e9
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y
95b418
setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y
95b418
# Disable unstable driver(s)
95b418
setconf CONFIG_RTE_LIBRTE_BNX2X_PMD n
15b5e9
15b5e9
%if %{with shared}
15b5e9
setconf CONFIG_RTE_BUILD_SHARED_LIB y
15b5e9
%endif
15b5e9
15b5e9
# Disable kernel modules
15b5e9
setconf CONFIG_RTE_EAL_IGB_UIO n
15b5e9
setconf CONFIG_RTE_LIBRTE_KNI n
ccb313
setconf CONFIG_RTE_KNI_KMOD n
ccb313
ccb313
# Disable experimental and ABI-breaking code
ccb313
setconf CONFIG_RTE_NEXT_ABI n
95b418
95b418
# Disable some PMDs on fdProd
95b418
setconf CONFIG_RTE_LIBRTE_BNXT_PMD n
95b418
setconf CONFIG_RTE_LIBRTE_ENA_PMD n
95b418
setconf CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO n
95b418
setconf CONFIG_RTE_LIBRTE_QEDE_PMD n
15b5e9
15b5e9
make V=1 O=%{target} %{?_smp_mflags} 
15b5e9
15b5e9
# Creating PDF's has excessive build-requirements, html docs suffice fine
15b5e9
make V=1 O=%{target} %{?_smp_mflags} doc-api-html doc-guides-html
15b5e9
15b5e9
%if %{with examples}
15b5e9
make V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples
15b5e9
%endif
15b5e9
15b5e9
%install
ccb313
# In case dpdk-devel is installed
ccb313
unset RTE_SDK RTE_INCLUDE RTE_TARGET
15b5e9
ccb313
%make_install O=%{target} prefix=%{_usr} libdir=%{_libdir}
15b5e9
ccb313
# Create a driver directory with symlinks to all pmds
ccb313
mkdir -p %{buildroot}/%{pmddir}
15b5e9
%if %{with shared}
ccb313
for f in %{buildroot}/%{_libdir}/*_pmd_*.so.*; do
ccb313
    bn=$(basename ${f})
ccb313
    ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
ccb313
done
15b5e9
%endif
15b5e9
ccb313
%if ! %{with tools}
ccb313
rm -rf %{buildroot}%{sdkdir}/tools
95b418
rm -rf %{buildroot}%{_sbindir}/dpdk-devbind
15b5e9
%endif
ccb313
rm -f %{buildroot}%{sdkdir}/tools/setup.sh
15b5e9
15b5e9
%if %{with examples}
15b5e9
find %{target}/examples/ -name "*.map" | xargs rm -f
15b5e9
for f in %{target}/examples/*/%{target}/app/*; do
15b5e9
    bn=`basename ${f}`
95b418
    cp -p ${f} %{buildroot}%{_bindir}/dpdk-${bn}
15b5e9
done
ccb313
%else
ccb313
rm -rf %{buildroot}%{sdkdir}/examples
15b5e9
%endif
15b5e9
15b5e9
# Setup RTE_SDK environment as expected by apps etc
15b5e9
mkdir -p %{buildroot}/%{_sysconfdir}/profile.d
15b5e9
cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.sh
15b5e9
if [ -z "\${RTE_SDK}" ]; then
15b5e9
    export RTE_SDK="%{sdkdir}"
15b5e9
    export RTE_TARGET="%{target}"
ccb313
    export RTE_INCLUDE="%{incdir}"
15b5e9
fi
15b5e9
EOF
15b5e9
15b5e9
cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.csh
15b5e9
if ( ! \$RTE_SDK ) then
15b5e9
    setenv RTE_SDK "%{sdkdir}"
15b5e9
    setenv RTE_TARGET "%{target}"
ccb313
    setenv RTE_INCLUDE "%{incdir}"
15b5e9
endif
15b5e9
EOF
15b5e9
ccb313
# Fixup target machine mismatch
95b418
sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk*
ccb313
15b5e9
%files
15b5e9
# BSD
ccb313
%doc README MAINTAINERS
15b5e9
%{_bindir}/testpmd
95b418
%{_bindir}/dpdk-procinfo
95b418
%{_bindir}/dpdk-pdump
ccb313
%dir %{pmddir}
15b5e9
%if %{with shared}
15b5e9
%{_libdir}/*.so.*
ccb313
%{pmddir}/*.so.*
15b5e9
%endif
15b5e9
15b5e9
%files doc
15b5e9
#BSD
15b5e9
%{docdir}
15b5e9
15b5e9
%files devel
15b5e9
#BSD
ccb313
%{incdir}/
ccb313
%{sdkdir}/
ccb313
%if %{with tools}
ccb313
%exclude %{sdkdir}/tools/
ccb313
%endif
ccb313
%if %{with examples}
ccb313
%exclude %{sdkdir}/examples/
ccb313
%endif
15b5e9
%{_sysconfdir}/profile.d/dpdk-sdk-*.*
15b5e9
%if %{with shared}
15b5e9
%{_libdir}/*.so
15b5e9
%else
15b5e9
%{_libdir}/*.a
15b5e9
%endif
15b5e9
%if %{with examples}
15b5e9
%files examples
95b418
%exclude %{_bindir}/dpdk-procinfo
95b418
%exclude %{_bindir}/dpdk-pdump
95b418
%exclude %{_bindir}/dpdk-pmdinfo
95b418
%{_bindir}/dpdk-*
ccb313
%doc %{sdkdir}/examples/
15b5e9
%endif
15b5e9
15b5e9
%if %{with tools}
15b5e9
%files tools
ccb313
%{sdkdir}/tools/
95b418
%{_sbindir}/dpdk-devbind
95b418
%{_bindir}/dpdk-pmdinfo
ccb313
%endif
ccb313
95b418
%changelog
95b418
* Fri Jun 23 2017 John W. Linville <linville@redhat.com> - 16.11.2-4
95b418
- Backport "eal/ppc: fix mmap for memory initialization"
ccb313
95b418
* Fri Jun 09 2017 John W. Linville <linville@redhat.com> - 16.11.2-3
95b418
- Enable i40e driver in PowerPC along with its altivec intrinsic support
95b418
- Add PCI probing support for vfio-pci devices in Power8
ccb313
95b418
* Thu Jun 08 2017 John W. Linville <linville@redhat.com> - 16.11.2-2
95b418
- Enable aarch64, ppc64le (#1428587)
95b418
95b418
* Thu Jun 08 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11.2-1
95b418
- Import from fdProd
95b418
- Update to 16.11.2 (#1459333)
95b418
95b418
* Wed Mar 22 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11-4
95b418
- Avoid infinite loop while linking with libdpdk.so (#1434907)
95b418
95b418
* Thu Feb 02 2017 Timothy Redaelli <tredaelli@redhat.com> - 16.11-3
95b418
- Make driverctl a different package
95b418
95b418
* Thu Dec 08 2016 Kevin Traynor <ktraynor@redhat.com> - 16.11-2
95b418
- Update to DPDK 16.11 (#1335865)
95b418
95b418
* Wed Oct 05 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-1
95b418
- Update to DPDK 16.07 (#1383195)
95b418
- Disable unstable bnx2x driver (#1330589)
95b418
- Enable librte_vhost NUMA support again (#1279525)
95b418
- Enable librte_cryptodev, its no longer considered experimental
95b418
- Change example prefix to dpdk- for consistency with other utilities
95b418
- Update driverctl to 0.89
95b418
95b418
* Thu Jul 21 2016 Flavio Leitner <fbl@redhat.com> - 16.04-4
95b418
- Updated to DPDK 16.04
15b5e9
15cc6b
* Wed Mar 16 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-3
15cc6b
- Disable librte_vhost NUMA support for now, it causes segfaults
15cc6b
ccb313
* Wed Jan 27 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-2
ccb313
- Use a different quoting method to avoid messing up vim syntax highlighting
ccb313
- A string is expected as CONFIG_RTE_MACHINE value, quote it too
ccb313
- Enable librte_vhost NUMA-awareness
ccb313
ccb313
* Tue Jan 12 2016 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-1
ccb313
- Update DPDK to 2.2.0 final
ccb313
- Add README and MAINTAINERS docs
ccb313
- Adopt new upstream standard installation layout, including
ccb313
  dpdk_nic_bind.py renamed to dpdk_nic_bind
ccb313
- Move the unversioned pmd symlinks from libdir -devel
ccb313
- Establish a driver directory for automatic driver loading
ccb313
- Disable CONFIG_RTE_SCHED_VECTOR, it conflicts with CONFIG_RTE_MACHINE default
ccb313
- Disable experimental cryptodev library
ccb313
- More complete dtneeded patch
ccb313
- Make option matching stricter in spec setconf
ccb313
- Update driverctl to 0.59
ccb313
ccb313
* Wed Dec 09 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-5
ccb313
- Fix artifacts from driverctl having different version
ccb313
- Update driverctl to 0.58
ccb313
ccb313
* Fri Nov 13 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-4
ccb313
- Add driverctl sub-package
ccb313
ccb313
* Fri Oct 23 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-3
ccb313
- Enable bnx2x pmd, which buildrequires zlib-devel
ccb313
ccb313
* Mon Sep 28 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-2
ccb313
- Make lib and include available both ways in the SDK paths
ccb313
ccb313
* Thu Sep 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-1
ccb313
- Update to dpdk 2.1.0 final
ccb313
  - Disable ABI_NEXT
ccb313
  - Rebase patches as necessary
ccb313
  - Fix build of ip_pipeline example
ccb313
  - Drop no longer needed -Wno-error=array-bounds
ccb313
  - Rename libintel_dpdk to libdpdk
ccb313
ccb313
* Tue Aug 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-9
ccb313
- Drop main package dependency from dpdk-tools
ccb313
15b5e9
* Wed May 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-8
15b5e9
- Drop eventfd-link patch, its only needed for vhost-cuse
15b5e9
15b5e9
* Tue May 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-7
15b5e9
- Drop pointless build conditional, the linker script is here to stay
15b5e9
- Drop vhost-cuse build conditional, vhost-user is here to stay
15b5e9
- Cleanup comments a bit
15b5e9
- Enable parallel build again
15b5e9
- Dont build examples by default
15b5e9
15b5e9
* Thu Apr 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-6
15b5e9
- Fix potential hang and thread issues with VFIO eventfd
15b5e9
15b5e9
* Fri Apr 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-5
15b5e9
- Fix a potential hang due to missed interrupt in vhost library
15b5e9
15b5e9
* Tue Apr 21 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-4
15b5e9
- Drop unused pre-2.0 era patches
15b5e9
- Handle vhost-user/cuse selection automatically based on the copr repo name
15b5e9
15b5e9
* Fri Apr 17 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-3
15b5e9
- Dont depend on fuse when built for vhost-user support
15b5e9
- Drop version from testpmd binary, we wont be parallel-installing that
15b5e9
15b5e9
* Thu Apr 09 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-2
15b5e9
- Remove the broken kmod stuff
15b5e9
- Add a new dkms-based eventfd_link subpackage if vhost-cuse is enabled
15b5e9
15b5e9
* Tue Apr 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-1
15b5e9
- Update to 2.0 final (http://dpdk.org/doc/guides-2.0/rel_notes/index.html)
15b5e9
15b5e9
* Thu Apr 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2086.git263333bb.2
15b5e9
- Switch (back) to vhost-user, thus disabling vhost-cuse support
15b5e9
- Build requires fuse-devel for now even when fuse is unused
15b5e9
15b5e9
* Mon Mar 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2049.git2f95a470.1
15b5e9
- New snapshot
15b5e9
- Add spec option for enabling vhost-user instead of vhost-cuse
15b5e9
- Build requires fuse-devel only with vhost-cuse
15b5e9
- Add virtual provide for vhost user/cuse tracking 
15b5e9
15b5e9
* Fri Mar 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.3
15b5e9
- Disable vhost-user for now to get vhost-cuse support, argh.
15b5e9
15b5e9
* Fri Mar 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.2
15b5e9
- Add a bunch of missing dependencies to -tools
15b5e9
15b5e9
* Thu Mar 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.1
15b5e9
- Another day, another snapshot
15b5e9
- Disable IVSHMEM support for now
15b5e9
15b5e9
* Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2022.gitfe4810a0.2
15b5e9
- Dont fail build for array bounds warnings for now, gcc 5 is emitting a bunch
15b5e9
15b5e9
* Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2022.gitfe4810a0.1
15b5e9
- Another day, another snapshot
15b5e9
- Avoid building pdf docs
15b5e9
15b5e9
* Tue Mar 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1916.gita001589e.2
15b5e9
- Add missing dependency to tools -subpackage
15b5e9
15b5e9
* Tue Mar 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1916.gita001589e.1
15b5e9
- New snapshot
15b5e9
- Work around #1198009
15b5e9
15b5e9
* Mon Mar 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1911.gitffc468ff.2
15b5e9
- Optionally package tools too, some binding script is needed for many setups
15b5e9
15b5e9
* Mon Mar 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1911.gitffc468ff.1
15b5e9
- New snapshot
15b5e9
- Disable kernel module build by default
15b5e9
- Add patch to fix missing defines/includes for external applications
15b5e9
15b5e9
* Fri Feb 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1906.git00c68563.1
15b5e9
- New snapshot
15b5e9
- Remove bogus devname module alias from eventfd-link module
15b5e9
- Whack evenfd-link to honor RTE_KERNELDIR too
15b5e9
15b5e9
* Thu Feb 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1903.gitb67578cc.3
15b5e9
- Add spec option to build kernel modules too
15b5e9
- Build eventfd-link module too if kernel modules enabled
15b5e9
15b5e9
* Thu Feb 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1903.gitb67578cc.2
15b5e9
- Move config changes from spec after "make config" to simplify things
15b5e9
- Move config changes from dpdk-config patch to the spec
15b5e9
15b5e9
* Thu Feb 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1717.gitd3aa5274.2
15b5e9
- Fix warnings tripping up build with gcc 5, remove -Wno-error
15b5e9
15b5e9
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1698.gitc07691ae.1
15b5e9
- Move the unversioned .so links for plugins into main package
15b5e9
- New snapshot
15b5e9
15b5e9
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.3
15b5e9
- Fix missing symbol export for rte_eal_iopl_init()
15b5e9
- Only mention libs once in the linker script
15b5e9
15b5e9
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.2
15b5e9
- Fix gcc version logic to work with 5.0 too
15b5e9
15b5e9
* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.1
15b5e9
- Add spec magic to easily switch between stable and snapshot versions
15b5e9
- Add tarball snapshot script for reference
15b5e9
- Update to pre-2.0 git snapshot
15b5e9
15b5e9
* Thu Feb 12 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-15
15b5e9
- Disable -Werror, this is not useful behavior for released versions
15b5e9
15b5e9
* Wed Feb 11 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-14
15b5e9
- Fix typo causing librte_vhost missing DT_NEEDED on fuse
15b5e9
15b5e9
* Wed Feb 11 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-13
15b5e9
- Fix vhost library linkage
15b5e9
- Add spec option to build example applications, enable by default
15b5e9
15b5e9
* Fri Feb 06 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-12
15b5e9
- Enable librte_acl build
15b5e9
- Enable librte_ivshmem build
15b5e9
15b5e9
* Thu Feb 05 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-11
15b5e9
- Drop the private libdir, not needed with versioned libs
15b5e9
15b5e9
* Thu Feb 05 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-10
15b5e9
- Drop symbol versioning patches, always do library version for shared
15b5e9
- Add comment on the combined library thing
15b5e9
15b5e9
* Wed Feb 04 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-9
15b5e9
- Add missing symbol version to librte_cmdline
15b5e9
15b5e9
* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-8
15b5e9
- Set soname of the shared libraries
15b5e9
- Fixup typo in ld path config file name
15b5e9
15b5e9
* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-7
15b5e9
- Add library versioning patches as another build option, enable by default
15b5e9
15b5e9
* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-6
15b5e9
- Add our libraries to ld path & run ldconfig when using shared libs
15b5e9
15b5e9
* Fri Jan 30 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-5
15b5e9
- Add DT_NEEDED for external dependencies (pcap, fuse, dl, pthread)
15b5e9
- Enable combined library creation, needed for OVS
15b5e9
- Enable shared library creation, needed for sanity
15b5e9
15b5e9
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-4
15b5e9
- Include scripts directory in the "sdk" too
15b5e9
15b5e9
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-3
15b5e9
- Fix -Wformat clash preventing i40e driver build, enable it
15b5e9
- Fix -Wall clash preventing enic driver build, enable it
15b5e9
15b5e9
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-2
15b5e9
- Enable librte_vhost, which buildrequires fuse-devel
15b5e9
- Enable physical NIC drivers that build (e1000, ixgbe) for VFIO use
15b5e9
15b5e9
* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-1
15b5e9
- Update to 1.8.0
15b5e9
15b5e9
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-8
15b5e9
- Always build with -fPIC
15b5e9
15b5e9
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-7
15b5e9
- Policy compliance: move static libraries to -devel, provide dpdk-static
15b5e9
- Add a spec option to build as shared libraries
15b5e9
15b5e9
* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-6
15b5e9
- Avoid variable expansion in the spec here-documents during build
15b5e9
- Drop now unnecessary debug flags patch
15b5e9
- Add a spec option to build a combined library
15b5e9
15b5e9
* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-5
15b5e9
- Avoid unnecessary use of %%global, lazy expansion is normally better
15b5e9
- Drop unused destdir macro while at it
15b5e9
- Arrange for RTE_SDK environment + directory layout expected by DPDK apps
15b5e9
- Drop config from main package, it shouldn't be needed at runtime
15b5e9
15b5e9
* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-4
15b5e9
- Copy the headers instead of broken symlinks into -devel package
15b5e9
- Force sane mode on the headers
15b5e9
- Avoid unnecessary %%exclude by not copying unpackaged content to buildroot
15b5e9
- Clean up summaries and descriptions
15b5e9
- Drop unnecessary kernel-devel BR, we are not building kernel modules
15b5e9
15b5e9
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-3
15b5e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
15b5e9
15b5e9
* Thu Jul 17 2014 - John W. Linville <linville@redhat.com> - 1.7.0-2
15b5e9
- Use EXTRA_CFLAGS to include standard Fedora compiler flags in build
15b5e9
- Set CONFIG_RTE_MACHINE=default to build for least-common-denominator machines
15b5e9
- Turn-off build of librte_acl, since it does not build on default machines
15b5e9
- Turn-off build of physical device PMDs that require kernel support
15b5e9
- Clean-up the install rules to match current packaging
15b5e9
- Correct changelog versions 1.0.7 -> 1.7.0
15b5e9
- Remove ix86 from ExclusiveArch -- it does not build with above changes
15b5e9
15b5e9
* Thu Jul 10 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-1.0
15b5e9
- Update source to official 1.7.0 release 
15b5e9
15b5e9
* Thu Jul 03 2014 - Neil Horman <nhorman@tuxdriver.com>
15b5e9
- Fixing up release numbering
15b5e9
15b5e9
* Tue Jul 01 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.9.1.20140603git5ebbb1728
15b5e9
- Fixed some build errors (empty debuginfo, bad 32 bit build)
15b5e9
15b5e9
* Wed Jun 11 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.9.20140603git5ebbb1728
15b5e9
- Fix another build dependency
15b5e9
15b5e9
* Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.8.20140603git5ebbb1728
15b5e9
- Fixed doc arch versioning issue
15b5e9
15b5e9
* Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.7.20140603git5ebbb1728
15b5e9
- Added verbose output to build
15b5e9
15b5e9
* Tue May 13 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.6.20140603git5ebbb1728
15b5e9
- Initial Build
15b5e9