Skip to content

Parallelize builds #168

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

Closed
xcvista opened this issue Jul 9, 2016 · 2 comments
Closed

Parallelize builds #168

xcvista opened this issue Jul 9, 2016 · 2 comments
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@xcvista
Copy link

xcvista commented Jul 9, 2016

I seriously doubt if anyone here are still stuck with a single-core processor. My three computers have 2, 4 and 16 hyper-threading cores respectively. Since almost everyone have a multi-core (or at least hyper-threading) processor why not take advantage of it, by parallelizing the build process?

Multiple instances of GCC can be launched at the same time. So you can perform core count detection upon launch (people can upgrade their processors after installing the software) and when compiling, use as many cores as possible. Building multi-compile-unit code is an embarrassingly parallel problem.

As of presentation, the -k flag from GNU Make is my personal favorite.

@per1234
Copy link
Contributor

per1234 commented Jul 10, 2016

See #17. It looks like some work has been done towards this in the parallel branch.

@cmaglie
Copy link
Member

cmaglie commented Aug 26, 2016

Duplicate of #17

@cmaglie cmaglie closed this as completed Aug 26, 2016
@per1234 per1234 added conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement labels Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants