blender: build cycles kernels in parallel

For me, this reduces CUDA build time from about 12 minutes to 9 minutes.
This commit is contained in:
Andrew Marshall
2026-04-26 00:11:58 -04:00
parent 71c912d75a
commit 377311bc72

View File

@@ -183,6 +183,7 @@ stdenv'.mkDerivation (finalAttrs: {
(lib.cmakeBool "WITH_CYCLES_DEVICE_OPTIX" cudaSupport)
(lib.cmakeBool "WITH_CYCLES_EMBREE" embreeSupport)
(lib.cmakeBool "WITH_CYCLES_OSL" true)
(lib.cmakeBool "WITH_CYCLES_PARALLEL_DEVICE_KERNEL_BUILD" true)
(lib.cmakeBool "WITH_SYSTEM_GLOG" true)
(lib.cmakeBool "WITH_HYDRA" openUsdSupport)
(lib.cmakeBool "WITH_INSTALL_PORTABLE" false)