From 3f54c5b996f1817d1bf359efc454a59123c0119f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 31 Mar 2026 23:51:18 +0300 Subject: [PATCH] github: Test openmp on arm64ec too, in the test-openmp job --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22a34bb..898261e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -561,11 +561,12 @@ jobs: - { arch: i686, asmflag: } - { arch: x86_64, asmflag: -m64 } - { arch: aarch64 } + - { arch: arm64ec } runs-on: ${{startsWith(matrix.arch, 'a') && 'windows-11-arm' || 'windows-latest'}} steps: - uses: actions/download-artifact@v8 with: - name: windows-ucrt-${{matrix.arch}}-toolchain + name: windows-ucrt-${{matrix.arch == 'arm64ec' && 'aarch64' || matrix.arch}}-toolchain - name: Unpack toolchain run: | Expand-Archive llvm-mingw-*.zip -DestinationPath . @@ -603,10 +604,11 @@ jobs: -DCMAKE_BUILD_TYPE=Release ` -DPython3_EXECUTABLE="$Env:PYTHON_EXE" ` -DLLVM_BINARY_DIR="$Env:TOOLS" ` - -DCMAKE_C_COMPILER=clang ` - -DCMAKE_CXX_COMPILER=clang++ ` + -DCMAKE_C_COMPILER=${{matrix.arch}}-w64-mingw32-clang ` + -DCMAKE_CXX_COMPILER=${{matrix.arch}}-w64-mingw32-clang++ ` -DCMAKE_ASM_MASM_COMPILER=llvm-ml ` -DLLVM_ENABLE_RUNTIMES="openmp" ` + -DOPENMP_TEST_FLAGS="-static-libstdc++ -static-libgcc" ` -DLIBOMP_ASMFLAGS=${{matrix.asmflag}} ` -DLLVM_LIT_ARGS="-v --time-tests" ninja