summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-18 11:47:05 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-18 11:47:05 (GMT)
commit1a2d260634807682a94aee140e77d52168f10ba6 (patch)
tree3858ff4d9205209cdd288cc700580bb486fadbb4 /Help
parentc79032438c5f90ca957b1a02886e60835d5d6e47 (diff)
parent5803a8a2f7e0894810e9bd2e8c433dce7346cf76 (diff)
downloadCMake-1a2d260634807682a94aee140e77d52168f10ba6.zip
CMake-1a2d260634807682a94aee140e77d52168f10ba6.tar.gz
CMake-1a2d260634807682a94aee140e77d52168f10ba6.tar.bz2
Merge branch 'backport-swift-improvements' into release-3.15
Merge-request: !3568
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-variables.7.rst1
-rw-r--r--Help/variable/CMAKE_Swift_NUM_THREADS.rst8
2 files changed, 9 insertions, 0 deletions
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
index 75ddd5d..e3c2f9f 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -98,6 +98,7 @@ Variables that Provide Information
/variable/CMAKE_STATIC_LIBRARY_PREFIX
/variable/CMAKE_STATIC_LIBRARY_SUFFIX
/variable/CMAKE_Swift_MODULE_DIRECTORY
+ /variable/CMAKE_Swift_NUM_THREADS
/variable/CMAKE_TOOLCHAIN_FILE
/variable/CMAKE_TWEAK_VERSION
/variable/CMAKE_VERBOSE_MAKEFILE
diff --git a/Help/variable/CMAKE_Swift_NUM_THREADS.rst b/Help/variable/CMAKE_Swift_NUM_THREADS.rst
new file mode 100644
index 0000000..cb33678
--- /dev/null
+++ b/Help/variable/CMAKE_Swift_NUM_THREADS.rst
@@ -0,0 +1,8 @@
+CMAKE_Swift_NUM_THREADS
+-----------------------
+
+Number of threads for parallel compilation for Swift targets.
+
+This variable controls the number of parallel jobs that the swift driver creates
+for building targets. If not specified, it will default to the number of
+logical CPUs on the host.