cloudflare / boring

BoringSSL bindings for the Rust programming language.
367 stars 114 forks source link

Set CMAKE_BUILD_PARALLEL_LEVEL to num_cpus #217

Open rushilmehra opened 10 months ago

rushilmehra commented 10 months ago

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 commented 10 months ago

Happy to hide this behind a feature flag if deemed necessary