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

How to add parallel build support for the rule of boost_build #865

Closed
fuhailin opened this issue Jan 28, 2022 · 0 comments
Closed

How to add parallel build support for the rule of boost_build #865

fuhailin opened this issue Jan 28, 2022 · 0 comments

Comments

@fuhailin
Copy link

fuhailin commented Jan 28, 2022

I have tried to use the rule of boost_build, and it's convenient to build the boost library, but it consumes my 2323.782 seconds, about 38 minutes to build the while boost library on my 12 cores Macbook.

During the building process, I noticed that not all of my computer cores are working, so I guess if we can add parallel build support for the rule of boost_build, less time will consume when building boost.

So is there a way to pass a '-jnproc' argument to the boost_build, just like cmake and configure_make rules according to #329 .

If the answer is yes, could you please provide a demo?

@fuhailin fuhailin reopened this Jan 31, 2022
@fuhailin fuhailin changed the title rules of boost_build are too slow How to add parallel build support for the rule of boost_build Jan 31, 2022
@fuhailin fuhailin closed this as completed Feb 8, 2022
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

No branches or pull requests

1 participant