summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_Swift_NUM_THREADS.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_Swift_NUM_THREADS.rst')
-rw-r--r--Help/variable/CMAKE_Swift_NUM_THREADS.rst8
1 files changed, 8 insertions, 0 deletions
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.