diff options
author | howetuft <howetuft> | 2022-03-07 17:42:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-04-06 22:30:07 +0300 |
commit | 013d0631e6842230b6043742289bc05de66f6402 (patch) | |
tree | 3cfe418a43af1692b7be58e111eaa0f4e16f6cb1 /intern/cycles/app | |
parent | 6aaae444736199bafd1d41ec0667c03938ac80ed (diff) |
Add CMake option to control CUDA host compiler
This revision allows to specify CUDA host compiler (nvcc's -ccbin command
line option) when configuring the build. It addresses the case where the
C/C++ compiler to be used in CUDA toolchain should be different from the
default C/C++ compiler, for instance in case of compilers versions conflicts
or multiple installed compilers.
The new CMake option is named `CUDA_HOST_COMPILER` and can be used as follows:
`cmake -DCUDA_HOST_COMPILER=<path-to-host-compiler>`
If the option is not specified, the build configuration behaves as previously.
Differential Revision: https://developer.blender.org/D14248
Diffstat (limited to 'intern/cycles/app')
0 files changed, 0 insertions, 0 deletions