Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEA] add parallel level option to ./build.sh #17651

Open
wingkitlee0 opened this issue Dec 21, 2024 · 0 comments
Open

[FEA] add parallel level option to ./build.sh #17651

wingkitlee0 opened this issue Dec 21, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@wingkitlee0
Copy link

Is your feature request related to a problem? Please describe.
Hi, I am new to this project. The first thing I did was trying to build the library from scratch. As I have a small-memory laptop I kept getting OOM (cmake error 137) at about 33%.

It turns out there is already a PARALLEL_LEVEL env variable used in the script to pass to -j N option during cmake build..

Describe the solution you'd like
Add a CLI option (e.g., -j or --parallel) to ./build.sh

Describe alternatives you've considered
We can update the help message...but adding an option should be easy.

Additional context
I can make a PR for this if this makes sense.

@wingkitlee0 wingkitlee0 added the feature request New feature or request label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant