Accepting request 451583 from home:ndas:branches:network
- Added gcc-6 as default compiler for CRC/mtune & other optimizations. - Added gcc-6 as default compiler for CRC/mtune & other optimizations. OBS-URL: https://build.opensuse.org/request/show/451583 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=25
This commit is contained in:
parent
4ff3c542ae
commit
cc118bc923
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 20 11:01:47 CET 2017 - ndas@suse.de
|
||||
|
||||
- Added gcc-6 as default compiler for CRC/mtune & other optimizations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 4 18:11:17 CET 2017 - ndas@suse.de
|
||||
|
||||
|
@ -59,6 +59,7 @@ Source: http://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
||||
Patch1: 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc6
|
||||
BuildRequires: libnuma-devel
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: zlib-devel
|
||||
@ -145,7 +146,7 @@ export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -Wno-error=array-bounds"
|
||||
# the compiler flags used still won't work for all Fedora-supported
|
||||
# machines, but runtime checks in DPDK will catch those situations.
|
||||
|
||||
make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
|
||||
make CC=gcc-6 V=1 O=%{target} T=%{target} %{?_smp_mflags} config
|
||||
|
||||
setconf CONFIG_RTE_MACHINE '"%{machine2}"'
|
||||
# Disable experimental features
|
||||
@ -176,11 +177,11 @@ setconf CONFIG_RTE_LIBRTE_DISTRIBUTOR n
|
||||
setconf CONFIG_RTE_LIBRTE_PMD_RING n
|
||||
%endif
|
||||
|
||||
make V=1 O=%{target} %{?_smp_mflags}
|
||||
make V=1 O=%{target} %{?_smp_mflags} doc-api-html
|
||||
make CC=gcc-6 V=1 O=%{target} %{?_smp_mflags}
|
||||
make CC=gcc-6 V=1 O=%{target} %{?_smp_mflags} doc-api-html
|
||||
|
||||
%if %{with examples}
|
||||
make V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples
|
||||
make CC=gcc-6 V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples
|
||||
%endif
|
||||
|
||||
%install
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 20 11:01:47 CET 2017 - ndas@suse.de
|
||||
|
||||
- Added gcc-6 as default compiler for CRC/mtune & other optimizations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 4 18:11:17 CET 2017 - ndas@suse.de
|
||||
|
||||
|
@ -57,6 +57,7 @@ Source: http://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
||||
Patch1: 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc6
|
||||
BuildRequires: libnuma-devel
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: zlib-devel
|
||||
@ -142,7 +143,7 @@ export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -Wno-error=array-bounds"
|
||||
# the compiler flags used still won't work for all Fedora-supported
|
||||
# machines, but runtime checks in DPDK will catch those situations.
|
||||
|
||||
make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
|
||||
make CC=gcc-6 V=1 O=%{target} T=%{target} %{?_smp_mflags} config
|
||||
|
||||
setconf CONFIG_RTE_MACHINE '"%{machine2}"'
|
||||
# Disable experimental features
|
||||
@ -173,11 +174,11 @@ setconf CONFIG_RTE_LIBRTE_DISTRIBUTOR n
|
||||
setconf CONFIG_RTE_LIBRTE_PMD_RING n
|
||||
%endif
|
||||
|
||||
make V=1 O=%{target} %{?_smp_mflags}
|
||||
make V=1 O=%{target} %{?_smp_mflags} doc-api-html
|
||||
make CC=gcc-6 V=1 O=%{target} %{?_smp_mflags}
|
||||
make CC=gcc-6 V=1 O=%{target} %{?_smp_mflags} doc-api-html
|
||||
|
||||
%if %{with examples}
|
||||
make V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples
|
||||
make CC=gcc-6 V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples
|
||||
%endif
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user