Skip to content

Commit a15aaf7

Browse files
committed
Keep OpenMP enabled in SYCL CI
1 parent 6a07c7c commit a15aaf7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/ci/sycl-configure.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -euo pipefail
44
build_type="${1:?build type is required}"
55
sycl_targets="${2:?sycl targets are required}"
66
opencv_apps="${3:?opencv apps toggle is required}"
7+
openmp_enabled="${ITLABAI_ENABLE_OPENMP:-ON}"
78

89
launcher_args=()
910
if [[ "${RUNNER_OS}" != "Windows" ]]; then
@@ -19,7 +20,7 @@ cmake -S . -B build -G Ninja \
1920
-DCMAKE_CXX_COMPILER="${ITLABAI_CXX}" \
2021
-DCMAKE_BUILD_TYPE="${build_type}" \
2122
-DCMAKE_PREFIX_PATH="${ITLABAI_CMAKE_PREFIX_PATH}" \
22-
-DITLABAI_ENABLE_OPENMP=OFF \
23+
-DITLABAI_ENABLE_OPENMP="${openmp_enabled}" \
2324
-DITLABAI_ENABLE_OPENCV_APPS="${opencv_apps}" \
2425
-DITLABAI_BUILD_TESTS=ON \
2526
-DITLABAI_OPENCV_DIR="${ITLABAI_OPENCV_DIR:-}" \

0 commit comments

Comments
 (0)