Skip to content

Commit 071dfce

Browse files
authored
Blacklist knl for clang 19+ (#908)
Details: - KNL-specific `-mavx512er` and `-mavx512pf` flags have been removed from Clang in llvm/llvm-project#92883, which was included in Clang 19. - Fixes #907. Signed-off-by: Michał Górny <[email protected]>
1 parent daa6e41 commit 071dfce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

configure

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ check_compiler()
17781778
# Specific:
17791779
#
17801780
# skx: icc 15.0.1+, gcc 6.0+, clang 3.9+
1781-
# knl: icc 14.0.1+, gcc 5.0-14, clang 3.9+
1781+
# knl: icc 14.0.1+, gcc 5.0-14, clang 3.9+-18
17821782
# haswell: any
17831783
# sandybridge: any
17841784
# penryn: any
@@ -1917,6 +1917,9 @@ check_compiler()
19171917
if [[ ${cc_major} -lt 11 ]]; then
19181918
blacklistcc_add "armsve"
19191919
fi
1920+
if [[ ${cc_major} -ge 19 ]]; then
1921+
blacklistcc_add "knl"
1922+
fi
19201923
fi
19211924
fi
19221925
}

0 commit comments

Comments
 (0)