build: rework x86 CPU variants

Type: improvement
Change-Id: Ief243f88e654e578ef9b8060fcf535b364aececb
Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
Damjan Marion
2020-04-29 21:28:15 +02:00
parent dc0ded7dd7
commit 162330f25a
13 changed files with 85 additions and 47 deletions

View File

@@ -68,7 +68,7 @@ BuildRequires: mbedtls-devel mbedtls
BuildREquires: openssl-devel
BuildRequires: python36-devel
%if 0%{rhel} == 7
BuildRequires: devtoolset-7-toolchain
BuildRequires: devtoolset-9-toolchain
BuildRequires: cmake3
BuildRequires: glibc-static, yum-utils
%else
@@ -177,7 +177,7 @@ groupadd -f -r vpp
%build
%if 0%{rhel} < 8
. /opt/rh/devtoolset-7/enable
. /opt/rh/devtoolset-9/enable
%endif
%if %{with aesni}
make bootstrap