Make sure intel architecture is properly detected (#1024)

On systems such as FreeBSD, `uname -p` returns amd64 (in lowercase) and -DUSE_AVX_INSTRUCTIONS=1 does not work (the option is ignored).
This commit is contained in:
Paul Guyot 2017-12-20 17:28:39 +01:00 committed by Davis E. King
parent ced9f6f407
commit f750268801

View File

@ -41,7 +41,7 @@ endif()
set(gcc_like_compilers GNU Clang Intel)
set(intel_archs x86_64 i386 i686 AMD64 x86)
set(intel_archs x86_64 i386 i686 AMD64 amd64 x86)
# Setup some options to allow a user to enable SSE and AVX instruction use.