-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Don't hard code number of compile threads #3856
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
Don't hard code number of compile threads #3856
Conversation
RVM can automatically detect number of available threads.
cb02bad to
07e9950
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if it's desired behavior - please update the description to better match the effect of the change
| #### Bug fixes: | ||
| * $PATH become empty after __rvm_unload executed [\#3847](https://github.com/rvm/rvm/pull/3847) | ||
| * RVM incorrectly tries to install llvm 3.5 when trying to install Rubinius 3 [\#3848](https://github.com/rvm/rvm/pull/3848), | ||
| * RVM hardcodes number of compile threads [\#3856](https://github.com/rvm/rvm/pull/3856) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's more: enable automated detection of compilation cores for compiling movable(binary) rubies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be rephrased indeed, but its a minor thing
| ;; | ||
| esac | ||
| rvm_configure_flags+=( --sysconfdir=/etc ) | ||
| rvm_make_flags+=( -j3 ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this enables automated detection of threads to the number of available cores
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @bartoszcisek that this is obsolete and should be removed
| #### Bug fixes: | ||
| * $PATH become empty after __rvm_unload executed [\#3847](https://github.com/rvm/rvm/pull/3847) | ||
| * RVM incorrectly tries to install llvm 3.5 when trying to install Rubinius 3 [\#3848](https://github.com/rvm/rvm/pull/3848), | ||
| * RVM hardcodes number of compile threads [\#3856](https://github.com/rvm/rvm/pull/3856) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be rephrased indeed, but its a minor thing
RVM can automatically detect number of available threads.
Changes proposed in this pull request:
-j3