Files
swift-mirror/utils/swift_build_support
Max Desiatov bbfd410e7b swift_build_support/cmake.py: parallelize default CMake build (#66212)
CMake's bootstrapping script can't infer a number of parallel build jobs from the number of CPU cores on its own, which means that it's not parallelized by default. Let's get the value of CPU cores when `build_jobs` argument is not explicitly set.

`make -j` only has an effect on CMake's post-bootstrap build jobs, while a substantial amount of time was spent building code sequentially in CMake's bootstrap script without that `--parallelize` option, which is called on a line preceding the `make -j` invocation.
2023-05-30 22:29:15 +01:00
..

swift_build_support

swift_build_support is a Python module containing functions and data structures used by the Swift build script.

You may run unit tests for swift_build_support from the command line:

$ python3 utils/swift_build_support/run_tests.py