From 5e0e0e9bcc71fdb6238f5b90ef13118bca8055e0 Mon Sep 17 00:00:00 2001 From: mpwaser <47316116+mpwaser@users.noreply.github.com> Date: Thu, 9 Jul 2026 14:51:59 +0200 Subject: [PATCH 1/3] Show Windows ARM64 CTest failure output --- .github/workflows/windows_arm64.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows_arm64.yml b/.github/workflows/windows_arm64.yml index 811c1fb7d4..9f2c2d3b4a 100644 --- a/.github/workflows/windows_arm64.yml +++ b/.github/workflows/windows_arm64.yml @@ -85,6 +85,13 @@ jobs: run: | $env:PATH = "C:\opt\bin;$env:PATH" cd build - ctest - + ctest --output-on-failure + $ctestExitCode = $LASTEXITCODE + if ($ctestExitCode -ne 0) { + if (Test-Path "Testing/Temporary/LastTest.log") { + Write-Host "===== Testing/Temporary/LastTest.log =====" + Get-Content "Testing/Temporary/LastTest.log" + } + exit $ctestExitCode + } From 59218f3bf76038b0358e90cfe9b74ee20863d37a Mon Sep 17 00:00:00 2001 From: mpwaser <47316116+mpwaser@users.noreply.github.com> Date: Thu, 9 Jul 2026 18:43:58 +0200 Subject: [PATCH 2/3] Build Windows ARM64 CI statically --- .github/workflows/windows_arm64.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/windows_arm64.yml b/.github/workflows/windows_arm64.yml index 9f2c2d3b4a..6488039a02 100644 --- a/.github/workflows/windows_arm64.yml +++ b/.github/workflows/windows_arm64.yml @@ -57,13 +57,15 @@ jobs: mkdir build cd build + REM Use a static OpenBLAS build so openblas_utest_ext can use its test-local xerbla handler. cmake .. -G Ninja ^ -DCMAKE_BUILD_TYPE=Release ^ -DTARGET=ARMV8 ^ -DBINARY=64 ^ -DCMAKE_C_COMPILER=clang-cl ^ -DCMAKE_Fortran_COMPILER=flang-new ^ - -DBUILD_SHARED_LIBS=ON ^ + -DBUILD_STATIC_LIBS=ON ^ + -DBUILD_SHARED_LIBS=OFF ^ -DCMAKE_SYSTEM_PROCESSOR=arm64 ^ -DCMAKE_SYSTEM_NAME=Windows ^ -DCMAKE_INSTALL_PREFIX=C:/opt @@ -85,13 +87,4 @@ jobs: run: | $env:PATH = "C:\opt\bin;$env:PATH" cd build - ctest --output-on-failure - $ctestExitCode = $LASTEXITCODE - if ($ctestExitCode -ne 0) { - if (Test-Path "Testing/Temporary/LastTest.log") { - Write-Host "===== Testing/Temporary/LastTest.log =====" - Get-Content "Testing/Temporary/LastTest.log" - } - exit $ctestExitCode - } - + ctest From 7f6319951f98d6abd1cf31c98d6a84be8f3e8b1c Mon Sep 17 00:00:00 2001 From: mpwaser <47316116+mpwaser@users.noreply.github.com> Date: Thu, 9 Jul 2026 18:49:31 +0200 Subject: [PATCH 3/3] Document Windows ARM64 static CI build --- .github/workflows/windows_arm64.yml | 2 +- docs/ci.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows_arm64.yml b/.github/workflows/windows_arm64.yml index 6488039a02..9d846752e9 100644 --- a/.github/workflows/windows_arm64.yml +++ b/.github/workflows/windows_arm64.yml @@ -57,7 +57,7 @@ jobs: mkdir build cd build - REM Use a static OpenBLAS build so openblas_utest_ext can use its test-local xerbla handler. + REM Build static so openblas_utest_ext can use its test-local xerbla handler during CTest. cmake .. -G Ninja ^ -DCMAKE_BUILD_TYPE=Release ^ -DTARGET=ARMV8 ^ diff --git a/docs/ci.md b/docs/ci.md index 37ea26ff92..4b574111ad 100644 --- a/docs/ci.md +++ b/docs/ci.md @@ -33,6 +33,7 @@ | arm64 |Apple M1 |macOS26|gmake |x86_64| XCode| - | | + | - | both | Github | | | arm64 |Apple M1 |macOS26|gmake |arm64| XCode| - | | + | - | both | Github | | | arm64 |Apple M1 |macOS26|gmake |arm| AndroidNDK-llvm | - | | - | - | both | Github | | +| arm64 |ARMV8 |Windows11|CMAKE/Ninja| - |LLVM clang-cl|flang-new| | - | - | static | Github | | | arm64 |Neoverse N1|Linux |gmake | - |gcc|gfortran| pthreads| - | - | both | Github | | | arm64 |Neoverse N1|Linux |gmake | - |gcc|gfortran| pthreads| - | + | both | Github | | | arm64 |Neoverse N1|Linux |gmake |- |gcc|gfortran| OpenMP | - | - | both | Github | | @@ -64,3 +65,6 @@ | x86_64 |C910V|QEmu |gmake |riscv64|gcc|gfortran|pthreads|-|-|both|Github| | |power |pwr9| Ubuntu |gmake | - |gcc|gfortran|OpenMP|-|-|both|OSUOSL| | |zarch |z14 | Ubuntu |gmake | - |gcc|gfortran|OpenMP|-|-|both|OSUOSL| | + +The Windows ARM64 CMake job builds OpenBLAS statically so `openblas_utest_ext` +can use its test-local `xerbla` handler during CTest.