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

[CMake] Add option to build dependencies in parallel #1218

Merged

Conversation

p12tic
Copy link
Contributor

@p12tic p12tic commented Sep 11, 2022

Currently all dependencies are built using single CPU core for each dependency. Presumably the previous idea was that parallelization comes from AliceVision itself being built in parallel so even if each dependency uses just a single CPU core, the dependencies themselves are built in parallel and the impact is not that large.

However, ability to run compilation within each dependency in parallel is still useful, especially when the build machine has a large number of cores, or distributed compilation is used.

By default the old behavior of just a single job is used.

Currently all dependencies are built using single CPU core for each
dependency. Presumably the previous idea was that parallelization comes
from AliceVision itself being built in parallel so even if each
dependency uses just a single CPU core, the dependencies themselves are
built in parallel and the impact is not that large.

However, ability to run compilation within each dependency in parallel
is still useful, especially when the build machine has a large number of
cores, or distributed compilation is used.
@fabiencastan fabiencastan added this to the 2.5.0 milestone Sep 11, 2022
@fabiencastan fabiencastan merged commit e8c423b into alicevision:develop Sep 11, 2022
@p12tic p12tic deleted the dependencies-parallel-build branch September 14, 2022 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants