Skip to content

Commit b9f30a0

Browse files
committed
Use libiomp5 for Linux SYCL OpenMP
1 parent 3bc43bc commit b9f30a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/ci/sycl_x86_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def setup_unix_compilers(sycl_root: Path) -> None:
197197
if openmp_library is None:
198198
main_error("Unable to locate libiomp5.so for the SYCL toolchain")
199199

200-
write_env("ITLABAI_OPENMP_FLAGS", "-fopenmp")
200+
write_env("ITLABAI_OPENMP_FLAGS", "-fopenmp=libiomp5")
201201
write_env("ITLABAI_OPENMP_LIBRARY", str(openmp_library))
202202

203203
for library_dir_name in ("lib", "lib64"):

0 commit comments

Comments
 (0)