Skip to content

Commit dd04143

Browse files
authored
Merge pull request #2328 from martin-frbg/ppc9
Fix precompiled kernels on POWER9 and make their use conditional on (old) gcc version
2 parents f3a6164 + dedd822 commit dd04143

File tree

4 files changed

+229
-184
lines changed

4 files changed

+229
-184
lines changed

kernel/Makefile

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

8+
9+
ifeq ($(C_COMPILER), GCC)
10+
GCCVERSIONGTEQ9 := $(shell expr `$(CC) -dumpversion | cut -f1 -d.` \>= 9)
11+
endif
12+
813
AVX2OPT =
914
ifeq ($(C_COMPILER), GCC)
1015
# AVX2 support was added in 4.7.0

0 commit comments

Comments
 (0)