diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index 1ab56edd26c..b23f62afc4d 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -761,6 +761,7 @@ if(WITH_CYCLES_DEVICE_HIPRT) -amdgpu-early-inline-all=false -mllvm -amdgpu-function-calls=true + -parallel-jobs=4 --genco -I ${HIPRT_INCLUDE_DIR} -Wno-parentheses-equality @@ -781,6 +782,7 @@ if(WITH_CYCLES_DEVICE_HIPRT) -amdgpu-early-inline-all=false -mllvm -amdgpu-function-calls=true + -parallel-jobs=4 --genco -I ${HIPRT_INCLUDE_DIR}/Orochi -include hip/hip_runtime.h @@ -828,6 +830,7 @@ if(WITH_CYCLES_DEVICE_HIPRT) -fgpu-rdc -c --gpu-bundle-output + -parallel-jobs=4 -emit-llvm -I ${HIPRT_INCLUDE_DIR} -Wno-parentheses-equality @@ -849,6 +852,7 @@ if(WITH_CYCLES_DEVICE_HIPRT) -fgpu-rdc -c --gpu-bundle-output + -parallel-jobs=4 -emit-llvm -I ${CMAKE_CURRENT_SOURCE_DIR}/.. -I ${CMAKE_CURRENT_SOURCE_DIR}/device/hiprt @@ -883,6 +887,7 @@ if(WITH_CYCLES_DEVICE_HIPRT) -fgpu-rdc --hip-link --cuda-device-only + -parallel-jobs=4 ${cycles_bitcode_file} ${sdk_bitcode_file} -o ${hiprt_file})