CI: Build with NO_AVX512 for the runners that use Flang 16.

This commit is contained in:
Markus Mützel 2023-08-05 13:47:38 +02:00
parent 1c3fcaaf42
commit 53378296c8
1 changed files with 7 additions and 0 deletions

View File

@ -167,6 +167,9 @@ jobs:
idx: int32 idx: int32
target-prefix: mingw-w64-clang-x86_64 target-prefix: mingw-w64-clang-x86_64
fc-pkg: fc fc-pkg: fc
# Compiling with Flang 16 seems to cause test errors on machines
# with AVX512 instructions. Revisit after MSYS2 distributes Flang 17.
no-avx512-flags: -DNO_AVX512=1
- msystem: CLANG32 - msystem: CLANG32
idx: int32 idx: int32
target-prefix: mingw-w64-clang-i686 target-prefix: mingw-w64-clang-i686
@ -182,6 +185,9 @@ jobs:
idx64-flags: -DBINARY=64 -DINTERFACE64=1 idx64-flags: -DBINARY=64 -DINTERFACE64=1
target-prefix: mingw-w64-clang-x86_64 target-prefix: mingw-w64-clang-x86_64
fc-pkg: fc fc-pkg: fc
# Compiling with Flang 16 seems to cause test errors on machines
# with AVX512 instructions. Revisit after MSYS2 distributes Flang 17.
no-avx512-flags: -DNO_AVX512=1
- msystem: MINGW64 - msystem: MINGW64
idx: int32 idx: int32
target-prefix: mingw-w64-x86_64 target-prefix: mingw-w64-x86_64
@ -268,6 +274,7 @@ jobs:
-DTARGET=CORE2 \ -DTARGET=CORE2 \
${{ matrix.idx64-flags }} \ ${{ matrix.idx64-flags }} \
${{ matrix.c-lapack-flags }} \ ${{ matrix.c-lapack-flags }} \
${{ matrix.no-avx512-flags }} \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_Fortran_COMPILER_LAUNCHER=ccache \ -DCMAKE_Fortran_COMPILER_LAUNCHER=ccache \
.. ..