diff options
| author | Edouard CHIN <chin.edouard@gmail.com> | 2025-12-08 22:02:03 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-12-16 04:21:49 +0000 |
| commit | 9f593156b6184718a65f99905e6b07002058ebe6 (patch) | |
| tree | 7507a407796d6d943a3c8e3a1e2a6802971a3286 /test/ruby/test_lambda.rb | |
| parent | 9168cad4d63a5d281d443bde4edea6be213b0b25 (diff) | |
[ruby/rubygems] Pass down value of `BUNDLE_JOBS` to RubyGems before compiling:
- ### Problem
Since https://github.com/ruby/rubygems/pull/9131, we are now
compiling make rules simultaneously. The number of jobs
is equal to the number of processors.
This may be problematic for some users as they want to control
this value.
### Solution
The number of jobs passed to `make` will now be equal to the
`BUNDLE_JOBS` value.
### Side note
It's also worth to note that since Bundler installs gems in
parallel, we may end up running multiple `make -j<JOB>` in parallel
which would cause exhaust the number of processors we have.
This problem can be fixed by implementing a GNU jobserver, which I
plan to do. But I felt that this would be too much change in one PR.
https://github.com/ruby/rubygems/commit/d51995deb9
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions
