Skip to content

Update SYCL Dockerfile #775

Update SYCL Dockerfile

Update SYCL Dockerfile #775

Workflow file for this run

name: github-windows
on: [push, pull_request]
concurrency:
group: ${ {github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{github.event_name == 'pull_request'}}
jobs:
windows-threads:
name: Windows Threads
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Install dependencies via vcpkg
uses: johnwason/vcpkg-action@v6
id: vcpkg
with:
pkgs: boost-test boost-program-options boost-geometry benchmark
triplet: x64-windows-release
token: ${{ github.token }}
github-binarycache: true
- uses: actions/checkout@v4
with:
repository: kokkos/kokkos
# FIXME: 4.3.99 Kokkos version that fixed Windows workflow
# https://github.com/kokkos/kokkos/pull/7068
# Change to Kokkos 4.4.00 once released
ref: d54619970c051fcb82ed0a9eab29975998baf832
path: ${GITHUB_WORKSPACE}/../kokkos
- name: Install Kokkos
shell: bash
working-directory: ${GITHUB_WORKSPACE}/../kokkos
run: |
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=C:\kokkos-install \
-D Kokkos_ENABLE_THREADS=ON \
..
cmake --build . --target install -- -m
- name: Configure ArborX
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -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 ..
- name: Build ArborX
shell: bash
run: |
cmake --build build --target install -- -m
cd build