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