Add SKYLAKEX to DYNAMIC_CORE list only if AVX512 is available
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sun, 3 Jun 2018 21:13:25 +0000 (23:13 +0200)
committerGitHub <noreply@github.com>
Sun, 3 Jun 2018 21:13:25 +0000 (23:13 +0200)
Makefile.system

index cec4b44..82e38a6 100644 (file)
@@ -477,7 +477,12 @@ ifneq ($(NO_AVX), 1)
 DYNAMIC_CORE += SANDYBRIDGE BULLDOZER PILEDRIVER STEAMROLLER EXCAVATOR
 endif
 ifneq ($(NO_AVX2), 1)
-DYNAMIC_CORE += HASWELL ZEN SKYLAKEX
+DYNAMIC_CORE += HASWELL ZEN
+endif
+ifneq ($(NO_AVX512), 1)
+ifneq ($(NO_AVX2), 1)
+DYNAMIC_CORE += SKYLAKEX
+endif
 endif
 endif