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

Parallelize builds for CI #40

Open
kh9sd opened this issue Dec 4, 2023 · 0 comments
Open

Parallelize builds for CI #40

kh9sd opened this issue Dec 4, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kh9sd
Copy link
Member

kh9sd commented Dec 4, 2023

Our build process is CMake, which generates build files such as Make

Make builds sequentially by default. We can parallelize it with the -j flag to specify how many threads to use. I would like for the number of threads to be queried automatically based on the number of threads available, so we would probably have it like -j SOME_VARIABLE

Alternatively, CMake can also generate Ninja files, which parallelizes automatically. The issue is that the runners don't have Ninja installed natively. Last time I tried, downloading and installing Ninja to use ended up not saving any time. Is there a way to install and cache this dependency, so we don't have to install it everytime?

@kh9sd kh9sd added the enhancement New feature or request label Dec 4, 2023
@anushkakulk anushkakulk self-assigned this Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants