cmake: Use job pool feature to limit concurrent jobs #314
Manually merged
jwinterm
merged 1 commits from asymptotically/wownero:cmake-job-pools
into master
4 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'asymptotically/wownero:cmake-job-pools'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Add two new options, WOWNERO_PARALLEL_COMPILE_JOBS and WOWNERO_PARALLEL_LINK_JOBS to try and prevent running out of memory when building everything.
Requires >= cmake 3.0.0, and the use of the Ninja generator.
If the values are unset, or if Ninja is not used, it behaves as before.
Useful links
Example
Nice commit for upstream also +1
Upstream is https://github.com/monero-project/monero/pull/6747
They are not frens of Ninja :(
04d6c39149
into master manually 4 years ago04d6c39149
.