Commit: a8c9d857a46f9214eb0bf6e3016e61d51e177dc6
Author: Xavier Hallade
Date:   Fri Jun 24 22:04:41 2022 +0200
Branches: cycles_oneapi
https://developer.blender.org/rBa8c9d857a46f9214eb0bf6e3016e61d51e177dc6

Build: fix sycl.dll and pi_level_zero.dll install paths for cpack

these DLLs need to be installed next to blender.exe, it was already the
case when calling cmake but cpack was missing them during packaging.

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

M       intern/cycles/kernel/CMakeLists.txt

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

diff --git a/intern/cycles/kernel/CMakeLists.txt 
b/intern/cycles/kernel/CMakeLists.txt
index 146a9d61e0a..1453f1e47f1 100644
--- a/intern/cycles/kernel/CMakeLists.txt
+++ b/intern/cycles/kernel/CMakeLists.txt
@@ -884,7 +884,7 @@ if(WITH_CYCLES_DEVICE_ONEAPI)
         sycl.dll
         pi_level_zero.dll
     )
-    delayed_install("${sycl_compiler_root}" "${SYCL_RUNTIME_DEPENDENCIES}" 
${CMAKE_INSTALL_PREFIX})
+    delayed_install("${sycl_compiler_root}" "${SYCL_RUNTIME_DEPENDENCIES}" 
"../")
   elseif(UNIX AND NOT APPLE)
     file(GLOB SYCL_RUNTIME_DEPENDENCIES
               ${sycl_compiler_root}/../lib/libsycl.so

_______________________________________________
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