[Bf-blender-cvs] [2a2d8827a26] cycles_oneapi: CMake: FindSYCL.cmake look for clang++ as well

Ray Molenkamp noreply at git.blender.org
Fri May 20 01:39:47 CEST 2022


Commit: 2a2d8827a26fc598e5f19e19ed2c09188ed94acd
Author: Ray Molenkamp
Date:   Thu May 19 11:27:32 2022 -0600
Branches: cycles_oneapi
https://developer.blender.org/rB2a2d8827a26fc598e5f19e19ed2c09188ed94acd

CMake: FindSYCL.cmake look for clang++ as well

The open source distro of dpcpp ships a standard
clang++ executable which FindSYCL needs to look
for as well.

===================================================================

M	build_files/cmake/Modules/FindSYCL.cmake

===================================================================

diff --git a/build_files/cmake/Modules/FindSYCL.cmake b/build_files/cmake/Modules/FindSYCL.cmake
index 6a35ff360c4..fcd8eaaa97b 100644
--- a/build_files/cmake/Modules/FindSYCL.cmake
+++ b/build_files/cmake/Modules/FindSYCL.cmake
@@ -26,6 +26,7 @@ SET(_sycl_search_dirs
 FIND_PROGRAM(SYCL_COMPILER
   NAMES
     dpcpp
+    clang++
   HINTS
     ${_sycl_search_dirs}
   PATH_SUFFIXES



More information about the Bf-blender-cvs mailing list