mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-09 01:09:30 -05:00
CUDA: Support nvcc symlinking to ccache
Invoke `nvcc -v` to find the real CUDA bin directory. This is needed if `nvcc` is a symlink to `ccache` or `colornvcc`. Fixes: #21177
This commit is contained in:
9
Help/release/dev/cuda-nvcc-ccache-symlink.rst
Normal file
9
Help/release/dev/cuda-nvcc-ccache-symlink.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
cuda-nvcc-ccache-symlink
|
||||
------------------------
|
||||
|
||||
* ``CUDA`` language support now works when ``nvcc`` is a symbolic link,
|
||||
for example due to a ``ccache`` or ``colornvcc`` wrapper script.
|
||||
|
||||
* The :module:`FindCUDAToolkit` module gained support for finding CUDA
|
||||
toolkits when ``nvcc`` is a symbolic link,
|
||||
for example due to a ``ccache`` or ``colornvcc`` wrapper script.
|
||||
Reference in New Issue
Block a user