github: Test openmp on arm64ec too, in the test-openmp job
This commit is contained in:
1 parent
20f2ac78ae
commit
3f54c5b996
1 file changed
+5
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user