Commit: eef341920da56c44361a755f64eaac3e1437f6a5 Author: Xavier Hallade Date: Tue May 31 16:11:33 2022 +0200 Branches: cycles_oneapi https://developer.blender.org/rBeef341920da56c44361a755f64eaac3e1437f6a5
Build: add $ORIGIN to libsycl.so rpath this allows libsycl to load pi plugins from the same directory. =================================================================== M build_files/build_environment/cmake/dpcpp.cmake =================================================================== diff --git a/build_files/build_environment/cmake/dpcpp.cmake b/build_files/build_environment/cmake/dpcpp.cmake index ab08c7e110c..12f39c4053e 100644 --- a/build_files/build_environment/cmake/dpcpp.cmake +++ b/build_files/build_environment/cmake/dpcpp.cmake @@ -58,7 +58,8 @@ set(DPCPP_EXTRA_ARGS -DLLVM_ENABLE_LLD=OFF -DXPTI_ENABLE_WERROR=OFF -DSYCL_CLANG_EXTRA_FLAGS= - -DSYCL_ENABLE_PLUGINS=level_zero^^opencl + -DSYCL_ENABLE_PLUGINS=level_zero + -DCMAKE_INSTALL_RPATH=\$ORIGIN ) ExternalProject_Add(external_dpcpp _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
