summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-01 14:36:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-12-01 14:37:07 (GMT)
commit628d7ef67258f67e0b4086905011d90727d8b9a1 (patch)
tree3a393029603b47952537e87656bca9764f4b654d /Help/variable
parente557ff81ee81b8b92b488b90056021ce10fc726d (diff)
parentc57541d874ce2a22555e1aae302d27190d74a5a4 (diff)
downloadCMake-628d7ef67258f67e0b4086905011d90727d8b9a1.zip
CMake-628d7ef67258f67e0b4086905011d90727d8b9a1.tar.gz
CMake-628d7ef67258f67e0b4086905011d90727d8b9a1.tar.bz2
Merge topic 'cuda_env_archs'
c57541d874 CUDA: Fix tests with CUDAARCHS set c4ae9384ff CUDA: Initialize CMAKE_CUDA_ARCHITECTURES using $ENV{CUDAARCHS} Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5533
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_CUDA_ARCHITECTURES.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_CUDA_ARCHITECTURES.rst b/Help/variable/CMAKE_CUDA_ARCHITECTURES.rst
index 985040d..7f7e679 100644
--- a/Help/variable/CMAKE_CUDA_ARCHITECTURES.rst
+++ b/Help/variable/CMAKE_CUDA_ARCHITECTURES.rst
@@ -5,7 +5,8 @@ CMAKE_CUDA_ARCHITECTURES
Default value for :prop_tgt:`CUDA_ARCHITECTURES` property of targets.
-This is initialized as follows depending on :variable:`CMAKE_CUDA_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>`:
+Initialized by the :envvar:`CUDAARCHS` environment variable if set.
+Otherwise as follows depending on :variable:`CMAKE_CUDA_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>`:
- For ``Clang``: the oldest architecture that works.