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

bazel: Dynamically set -j argument for foreign_cc rules #27034

Open
ParkMyCar opened this issue May 10, 2024 · 0 comments
Open

bazel: Dynamically set -j argument for foreign_cc rules #27034

ParkMyCar opened this issue May 10, 2024 · 0 comments
Labels
A-build Area: build systems (Bazel, Rust, etc.)

Comments

@ParkMyCar
Copy link
Member

We build a few C dependencies with rules_foreign_cc, specifically with cmake. Currently we manually specify the number of jobs (8) cmake should use so these targets build using multiple cores. Ideally this argument would be set automatically based on the size of machine.

Related: #26796

@ParkMyCar ParkMyCar added the A-build Area: build systems (Bazel, Rust, etc.) label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-build Area: build systems (Bazel, Rust, etc.)
Projects
None yet
Development

No branches or pull requests

1 participant