Commit: d763e294fc68226af320b9fe17ad50e2b21287ce
Author: Xavier Hallade
Date:   Wed Oct 19 12:31:17 2022 +0200
Branches: master
https://developer.blender.org/rBd763e294fc68226af320b9fe17ad50e2b21287ce

Cycles: oneAPI: fix libsycl.so files harvesting

was missing libsycl.so.5.7.0-16 when using such version.

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

M       build_files/cmake/platform/platform_unix.cmake

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

diff --git a/build_files/cmake/platform/platform_unix.cmake 
b/build_files/cmake/platform/platform_unix.cmake
index 695ea3d773e..7f3acb142ce 100644
--- a/build_files/cmake/platform/platform_unix.cmake
+++ b/build_files/cmake/platform/platform_unix.cmake
@@ -341,10 +341,10 @@ if(WITH_CYCLES AND WITH_CYCLES_DEVICE_ONEAPI)
   endif()
   file(GLOB _sycl_runtime_libraries
     ${SYCL_ROOT_DIR}/lib/libsycl.so
-    ${SYCL_ROOT_DIR}/lib/libsycl.so.[0-9]
-    ${SYCL_ROOT_DIR}/lib/libsycl.so.[0-9].[0-9].[0-9]-[0-9]
+    ${SYCL_ROOT_DIR}/lib/libsycl.so.*
     ${SYCL_ROOT_DIR}/lib/libpi_level_zero.so
   )
+  list(FILTER _sycl_runtime_libraries EXCLUDE REGEX ".*\.py")
   list(APPEND PLATFORM_BUNDLED_LIBRARIES ${_sycl_runtime_libraries})
   unset(_sycl_runtime_libraries)
 endif()

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to