@@ -480,13 +480,17 @@ function gcc_version(p::AbstractPlatform,GCC_builds::Vector{GCCBuild},
480
480
# "sandybridge", "haswell", "cortex-a53" introduced in GCC v4.9.0:
481
481
# https://www.gnu.org/software/gcc/gcc-4.9/changes.html
482
482
GCC_builds = filter (b -> getversion (b) >= v " 4.9" , GCC_builds)
483
- elseif march (p) in (" avx512 " , " power9" )
484
- # "skylake-avx512" and " power9" introduced in GCC v6.1:
483
+ elseif march (p) in (" power9" , )
484
+ # "power9" introduced in GCC v6.1:
485
485
# https://www.gnu.org/software/gcc/gcc-6/changes.html
486
486
GCC_builds = filter (b -> getversion (b) >= v " 6.1" , GCC_builds)
487
- elseif march (p) in (" armv8_1 " , )
487
+ elseif march (p) in (" avx512 " , " armv8_1 " )
488
488
# "thunderx2t99" introduced in GCC v7.1:
489
- # https://www.gnu.org/software/gcc/gcc-7/changes.html
489
+ # <https://www.gnu.org/software/gcc/gcc-7/changes.html>.
490
+ # "skylake-avx512" introduced in GCC v6.1, but header files were broken
491
+ # in that release:
492
+ # <https://github.com/JuliaPackaging/Yggdrasil/pull/4485#issuecomment-1048226993>
493
+ # <https://github.com/JuliaPackaging/Yggdrasil/pull/6392#discussion_r1138808437>.
490
494
GCC_builds = filter (b -> getversion (b) >= v " 7.1" , GCC_builds)
491
495
elseif march (p) in (" armv8_2_crypto" ,)
492
496
# `cortex-a76` target introduced in GCC v9.1:
0 commit comments