Skip to content

Conversation

@bartoszcisek
Copy link
Contributor

RVM can automatically detect number of available threads.

Changes proposed in this pull request:

  • remove hardcoded -j3

RVM can automatically detect number of available threads.
@bartoszcisek bartoszcisek force-pushed the remove-hardcoded-compile-option branch from cb02bad to 07e9950 Compare December 30, 2016 14:44
@pkuczynski pkuczynski requested a review from mpapis December 30, 2016 15:06
Copy link
Member

@mpapis mpapis left a 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)
Copy link
Member

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

Copy link
Member

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 )
Copy link
Member

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

Copy link
Member

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)
Copy link
Member

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

@pkuczynski pkuczynski merged commit 98b1c38 into rvm:master Jan 2, 2017
@pkuczynski pkuczynski added this to the rvm-1.29.0 milestone Jan 4, 2017
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.

3 participants