mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 10:18:34 -06:00
Swift: support multithreaded compilation
Query the number of logical CPUs available to enable parallel compilation for Swift.
This commit is contained in:
8
Help/variable/CMAKE_Swift_NUM_THREADS.rst
Normal file
8
Help/variable/CMAKE_Swift_NUM_THREADS.rst
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user