forked from blender/blender
Sergey Sharybin
3aaf076e8d
Happens with systems which do not provide GOLD linker: the linking state would failing with some missing symbols and print about missing libsycl.so.6. Seems that BFD linker expects to resolve all symbols, even the indirectly used ones. This is somewhat counter-intuitive and is not how LLD, GOLD, or MOLD worls. The current state of the CMakeLists.txt does request the cycles_bvh to be linked against SYCL_LIBRARIES. However, the SYCL was only requested to be found if WITH_CYCLES_DEVICE_ONEAP is true. Arguably the SYCL_LIBRARIES should only be linked-in into cycles_bvh if EMBREE_STATIC_LIB, but that does not solve the issue with BFD. This change makes it so the SYCL is requested to be found if the oneAPI device is enabled, or if the Embree is detected to require/use SYCL support. Pull Request: blender/blender#108965 |
||
---|---|---|
.. | ||
external_libs.cmake | ||
macros.cmake | ||
msvc_arch_flags.c |