mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user