boring icon indicating copy to clipboard operation
boring copied to clipboard

Set CMAKE_BUILD_PARALLEL_LEVEL to num_cpus

Open rushilmehra opened this issue 1 year ago • 1 comments
trafficstars

cmake-rs' jobserver doesn't work reliably, if at all. One workaround is to set CMAKE_BUILD_PARALLEL_LEVEL to num_cpus. On my machine it makes builds over 3x faster

rushilmehra avatar Jan 27 '24 00:01 rushilmehra

Happy to hide this behind a feature flag if deemed necessary

rushilmehra avatar Jan 27 '24 00:01 rushilmehra