Skip to content

Get rid of fixed number cmake --build -j in sh and docs #10887

Description

@kirklandsign

📚 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersmodule: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions