Skip to content

Fix string_build_config_mapper potentially becoming invalid due to ODR issues when restarting the runtime #3859

Fix string_build_config_mapper potentially becoming invalid due to ODR issues when restarting the runtime

Fix string_build_config_mapper potentially becoming invalid due to ODR issues when restarting the runtime #3859

Workflow file for this run

name: macOS build
on: [push, pull_request]
jobs:
build_appleclang:
name: AppleClang [macOS]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: install dependencies
run: |
set +e
brew update
brew install cmake
brew install libomp
brew install boost
set -e
- name: build
run: |
mkdir build && cd build
cmake .. \
-DWITH_OPENCL_BACKEND=OFF \
-DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/build/install
make -j 2 install VERBOSE=ON
- name: build CPU tests
run: |
mkdir build/tests-cpu && cd build/tests-cpu
cmake \
-DACPP_TARGETS=omp.library-only \
-DAdaptiveCpp_DIR=${GITHUB_WORKSPACE}/build/install/lib/cmake/AdaptiveCpp \
${GITHUB_WORKSPACE}/tests
make -j 2 VERBOSE=ON
- name: run CPU tests
run: |
cd ${GITHUB_WORKSPACE}/build/tests-cpu
LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/build/install/lib ./sycl_tests