-
Notifications
You must be signed in to change notification settings - Fork 760
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
Compiling in parallel #57
Comments
@michalmuskala If parallel is good, then let us make the asdf plugins use the parallel flag by default atleast for languages that are known to work well with it. |
I see that each plug-in has entirely separate code from the core manager, so each one would need to solve this on it's own. The really tricky part is deciding on the number of concurrent jobs. A good rule is the number of cores, but the issue is there's no easy cross-platform way of determining it.
|
I think we could set
Does that means that |
The GNU make documents it as being a noop on windows: https://www.gnu.org/software/make/manual/html_node/Parallel.html
It talks about MS-DOS, so I'm not sure it applies to modern windowses as well. It could probably detect it on a best effort basis and set to 1 otherwise. It will still be better than the current situation. |
Thanks.
I agree. I will try to add this feature during the week. |
`ASDF_CONCURRENCY` environment variable See: - asdf-vm/asdf#57 - asdf-vm/asdf#75 - asdf-vm/asdf#147
Many of the plugins compile some files through make, that's why I'm opening the issue here, in the parent repository.
Should asdf detect if it can compile in parallel and set proper
-jn
flags for make? Is this a job for asdf, or should it assume user has properMAKEFLAGS
env variable set?This can potentially significantly speed up compilation.
The text was updated successfully, but these errors were encountered: