build: explicitly enable sse4 for meson
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 23 Dec 2019 10:38:40 +0000 (10:38 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 3 Jan 2020 14:27:26 +0000 (15:27 +0100)
commit10060dba6455461088d24e03d3cfeba639d53022
tree36ed1758325c5b0b4b16c191d59709a8098a6ac5
parent2e088e6f94b773233c06440763c1be43d0d705b3
build: explicitly enable sse4 for meson

If the compiler does not recognise the specific CPU when building with the
default "native" machine type, sse4.2 instructions can be missing, causing
a build error. Rather than advising the user to change the machine type,
we can just turn on SSE4.2 directly. This can prevent issues with running
automated tests with older compilers/distros on newer hardware.

Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
config/x86/meson.build