@@ -214,17 +214,17 @@ def setup_windows_compilers(sycl_root: Path) -> None:
214214 cc_path = find_first_existing (
215215 [
216216 sycl_root / "bin" / "icx.exe" ,
217+ sycl_root / "bin" / "clang.exe" ,
217218 sycl_root / "bin" / "icx-cl.exe" ,
218219 sycl_root / "bin" / "clang-cl.exe" ,
219- sycl_root / "bin" / "clang.exe" ,
220220 ]
221221 )
222222 cxx_path = find_first_existing (
223223 [
224224 sycl_root / "bin" / "icpx.exe" ,
225+ sycl_root / "bin" / "clang++.exe" ,
225226 sycl_root / "bin" / "icx-cl.exe" ,
226227 sycl_root / "bin" / "clang-cl.exe" ,
227- sycl_root / "bin" / "clang++.exe" ,
228228 ]
229229 )
230230
@@ -290,7 +290,7 @@ def setup_unix_compilers(sycl_root: Path) -> None:
290290 if gcc_openmp_header is not None and gcc_openmp_library .exists ():
291291 openmp_library = gcc_openmp_library
292292 openmp_library_name = "gomp"
293- openmp_flags = "-fopenmp"
293+ openmp_flags = "-fopenmp=libgomp "
294294 if openmp_library is None and not source_built_linux_toolchain :
295295 main_error ("Unable to locate an Intel toolchain OpenMP runtime library" )
296296
0 commit comments