summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2020-06-06 15:36:22 (GMT)
committerRaul Tambre <raul@tambre.ee>2020-06-12 18:49:15 (GMT)
commit403f8d31e3fed4067b810c683391fc1fdffe815a (patch)
treed9c8555ef5f4a08f71149763dfb87c6e57a45bb8 /Help
parent6636693134ab855dc1c253e40ab73e1489543152 (diff)
downloadCMake-403f8d31e3fed4067b810c683391fc1fdffe815a.zip
CMake-403f8d31e3fed4067b810c683391fc1fdffe815a.tar.gz
CMake-403f8d31e3fed4067b810c683391fc1fdffe815a.tar.bz2
FindCUDAToolkit: Add CUDAToolkit_LIBRARY_ROOT
On scattered installations version.txt and nvvm are located at this location. This may be useful to users and will allow us in the future to parse version.txt instead of invoking nvcc to figure out the CUDA toolkit version. We also add it to CMakeDetermineCUDACompiler in preparation for future use by Clang code.
Diffstat (limited to 'Help')
-rw-r--r--Help/release/3.18.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/release/3.18.rst b/Help/release/3.18.rst
index 71f9d85..027ef5c 100644
--- a/Help/release/3.18.rst
+++ b/Help/release/3.18.rst
@@ -194,6 +194,10 @@ Modules
.. _`SWIG-Fortran`: https://github.com/swig-fortran/swig
+* The :module:`FindCUDAToolkit` module gained the variable
+ ``CUDAToolkit_LIBRARY_ROOT``, which is the directory containing the ``nvvm``
+ directory and ``version.txt``.
+
Generator Expressions
---------------------