Get rid of fixed number cmake --build -j in sh and docs #10887
Labels
good first issue
Good for newcomers
module: build/install
Issues related to the cmake and buck2 builds, and to installing ExecuTorch
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Uh oh!
There was an error while loading. Please reload this page.
📚 The doc issue
Right now we have a few places where the number of
cmake --build -j
is fixed.https://github.com/search?q=repo%3Apytorch%2Fexecutorch+%22+-j%22&type=code
Ideally let's use
mac:
$(sysctl -n hw.ncpu) - 1
linux:
$(nproc) - 1
Update these docs and scripts.
Suggest a potential alternative/fix
No response
cc @larryliu0820 @jathu
The text was updated successfully, but these errors were encountered: