Skip to content

Commit 06f7d78

Browse files
authored
Add -march=skylake-avx512 to SkylakeX part of DYNAMIC_ARCH builds
1 parent 38cc638 commit 06f7d78

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kernel/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ TOPDIR = ..
66
include $(TOPDIR)/Makefile.system
77

88
ifdef TARGET_CORE
9+
ifeq ($(TARGET_CORE), SKYLAKEX)
10+
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=skylake-avx512
11+
else
912
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
13+
endif
1014
BUILD_KERNEL = 1
1115
KDIR =
1216
TSUFFIX = _$(TARGET_CORE)

0 commit comments

Comments
 (0)