From e7d281633c673c3b86154cc02b3ee8776b35b2ea Mon Sep 17 00:00:00 2001 From: Andrey Prokopenko Date: Sat, 4 Jan 2025 17:14:34 -0500 Subject: [PATCH] Alternative approach --- .github/workflows/windows.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 24827811c..089a18808 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -32,18 +32,15 @@ jobs: run: | mkdir build cd build - cmake -D CMAKE_BUILD_TYPE=Release \ - -D CMAKE_INSTALL_PREFIX=C:\kokkos-install \ - -D Kokkos_ENABLE_THREADS=ON \ - .. + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreadedDebugDLL" -DCMAKE_INSTALL_PREFIX=C:\kokkos-install -DKokkos_ENABLE_THREADS=ON .. cmake --build . --config Release --target install -- -m - name: Configure ArborX run: | mkdir build cd build - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="/EHsc /bigobj" -DKokkos_ROOT="C:\kokkos-install" ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} -DARBORX_ENABLE_MPI=OFF -DARBORX_ENABLE_TESTS=ON -DARBORX_ENABLE_EXAMPLES=ON -DARBORX_ENABLE_BENCHMARKS=ON -DARBORX_ENABLE_HEADER_SELF_CONTAINMENT_TESTS=OFF .. + cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="/EHsc /bigobj" -DKokkos_ROOT="C:\kokkos-install" ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} -DKokkos_MAP_IMPORTED_CONFIG_DEBUG="RelWithDebInfo" -DARBORX_ENABLE_MPI=OFF -DARBORX_ENABLE_TESTS=ON -DARBORX_ENABLE_EXAMPLES=ON -DARBORX_ENABLE_BENCHMARKS=ON -DARBORX_ENABLE_HEADER_SELF_CONTAINMENT_TESTS=OFF .. - name: Build ArborX shell: bash run: | - cmake --build build --config Release --target install -- -m + cmake --build build --config Debug --target install -- -m cd build