Skip to content

Commit 5337829

Browse files
committed
CI: Build with NO_AVX512 for the runners that use Flang 16.
1 parent 1c3fcaa commit 5337829

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/dynamic_arch.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ jobs:
167167
idx: int32
168168
target-prefix: mingw-w64-clang-x86_64
169169
fc-pkg: fc
170+
# Compiling with Flang 16 seems to cause test errors on machines
171+
# with AVX512 instructions. Revisit after MSYS2 distributes Flang 17.
172+
no-avx512-flags: -DNO_AVX512=1
170173
- msystem: CLANG32
171174
idx: int32
172175
target-prefix: mingw-w64-clang-i686
@@ -182,6 +185,9 @@ jobs:
182185
idx64-flags: -DBINARY=64 -DINTERFACE64=1
183186
target-prefix: mingw-w64-clang-x86_64
184187
fc-pkg: fc
188+
# Compiling with Flang 16 seems to cause test errors on machines
189+
# with AVX512 instructions. Revisit after MSYS2 distributes Flang 17.
190+
no-avx512-flags: -DNO_AVX512=1
185191
- msystem: MINGW64
186192
idx: int32
187193
target-prefix: mingw-w64-x86_64
@@ -268,6 +274,7 @@ jobs:
268274
-DTARGET=CORE2 \
269275
${{ matrix.idx64-flags }} \
270276
${{ matrix.c-lapack-flags }} \
277+
${{ matrix.no-avx512-flags }} \
271278
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
272279
-DCMAKE_Fortran_COMPILER_LAUNCHER=ccache \
273280
..

0 commit comments

Comments
 (0)