From 3fadcfffe723f0371f7fb46bc8a2a5e230f0e5fa Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Sun, 25 Jan 2026 13:45:08 +0100 Subject: [PATCH] [ci] Validate Windows arm64 And not windows amd64... --- .github/workflows/windows.yml | 4 ++-- include/xsimd/types/xsimd_neon_register.hpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index e9e782aed..b898ca92a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -102,7 +102,7 @@ jobs: - name: Setup compiler uses: ilammy/msvc-dev-cmd@v1 with: - arch: amd64 + arch: arm64 - name: Setup Ninja run: | python3 -m pip install --upgrade pip setuptools wheel @@ -112,7 +112,7 @@ jobs: - name: Setup run: | mkdir _build - cd _build && cmake .. -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DBUILD_BENCHMARK=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release -G Ninja + cd _build && cmake .. -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DCMAKE_BUILD_TYPE=Release -G Ninja "-DCMAKE_CXX_FLAGS=/Zc:arm64-aliased-neon-types-" - name: Build run: | cd _build && cmake --build . diff --git a/include/xsimd/types/xsimd_neon_register.hpp b/include/xsimd/types/xsimd_neon_register.hpp index ef9973828..b42bcaae4 100644 --- a/include/xsimd/types/xsimd_neon_register.hpp +++ b/include/xsimd/types/xsimd_neon_register.hpp @@ -16,6 +16,7 @@ #include "xsimd_register.hpp" #if XSIMD_WITH_NEON +#define _ARM64_DISTINCT_NEON_TYPES #include #endif