-
Notifications
You must be signed in to change notification settings - Fork 212
Open
Description
There is a typo in CMP_Core that leads to a build error on MSVC
/arch:AVX-512
should instead be /arch:AVX512
The bad flag leads to a warning: ignoring invalid /arch: argument 'AVX-512'; for 64-bit expected one of AVX, AVX2, AVX512, AVX512F
. The warning in turn leads to dozens of downstream compilation errors because the expected intrinsics are not available.
On a semi-related note, the if (WIN32)
conditionals in this CMake file should probably be replaced with if (MSVC)
. (I don't think MinGW would like receiving those MSVC style arguments.)
Activity