<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rubygems/ext/ext_conf_builder.rb, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/rubygems] Pass down value of `BUNDLE_JOBS` to RubyGems before compiling:</title>
<updated>2025-12-16T04:21:49+00:00</updated>
<author>
<name>Edouard CHIN</name>
<email>chin.edouard@gmail.com</email>
</author>
<published>2025-12-08T21:02:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9f593156b6184718a65f99905e6b07002058ebe6'/>
<id>9f593156b6184718a65f99905e6b07002058ebe6</id>
<content type='text'>
- ### 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&lt;JOB&gt;` 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- ### 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&lt;JOB&gt;` 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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Also use String#include? for RUBY_PLATFORM</title>
<updated>2025-11-29T02:06:53+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-29T01:06:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=82b91ec7e55cb5ef4acd61213843614542bea3b3'/>
<id>82b91ec7e55cb5ef4acd61213843614542bea3b3</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/5fd95f38d3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/5fd95f38d3
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixup with mswin and nmake build for -j flag</title>
<updated>2025-11-29T01:02:25+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-29T00:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=34290048be4a480437bbfff3dc5d8bf93e495d9b'/>
<id>34290048be4a480437bbfff3dc5d8bf93e495d9b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Use String#include? with suggested by Performance/StringInclude cop</title>
<updated>2025-11-28T23:43:24+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-28T22:18:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f18bedaf96d950a69ae18df9a7eeea6754224c20'/>
<id>f18bedaf96d950a69ae18df9a7eeea6754224c20</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/fdd3419144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/fdd3419144
</pre>
</div>
</content>
</entry>
<entry>
<title>nmake didn't support -j flag</title>
<updated>2025-11-28T22:06:24+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-28T22:06:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7bd80e7e3e3dbb724616c038e6e0944128d6f905'/>
<id>7bd80e7e3e3dbb724616c038e6e0944128d6f905</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Add `MAKEFLAGS=-j` by default before compiling:</title>
<updated>2025-11-28T21:01:44+00:00</updated>
<author>
<name>Edouard CHIN</name>
<email>chin.edouard@gmail.com</email>
</author>
<published>2025-11-28T01:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=413d15a3440abf570fc4bff24fe4b5ee8b7880a5'/>
<id>413d15a3440abf570fc4bff24fe4b5ee8b7880a5</id>
<content type='text'>
- Depending on the native extension, it can greatly reduce compilation
  time when executing recipes simultaneously.

  For example on Prism:

  ```
  # Before

  time gem install prism
  Building native extensions. This could take a while...
  Successfully installed prism-1.6.0
  1 gem installed

  gem install prism  3.61s user 0.80s system 95% cpu 4.595 total
  ```

  ```
  # After

  time MAKEFLAGS="-j" gem install prism
  Building native extensions. This could take a while...
  Successfully installed prism-1.6.0
  1 gem installed

  MAKEFLAGS="-j" gem install prism  4.47s user 1.27s system 246% cpu 2.330 total
  ```

  I don't think adding `-j` as a default is harmful, but I'm admitedly
  not very knowledgable when it comes to compiler.

https://github.com/ruby/rubygems/commit/61340081c6

Co-authored-by: Aaron Patterson &lt;tenderlove@ruby-lang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Depending on the native extension, it can greatly reduce compilation
  time when executing recipes simultaneously.

  For example on Prism:

  ```
  # Before

  time gem install prism
  Building native extensions. This could take a while...
  Successfully installed prism-1.6.0
  1 gem installed

  gem install prism  3.61s user 0.80s system 95% cpu 4.595 total
  ```

  ```
  # After

  time MAKEFLAGS="-j" gem install prism
  Building native extensions. This could take a while...
  Successfully installed prism-1.6.0
  1 gem installed

  MAKEFLAGS="-j" gem install prism  4.47s user 1.27s system 246% cpu 2.330 total
  ```

  I don't think adding `-j` as a default is harmful, but I'm admitedly
  not very knowledgable when it comes to compiler.

https://github.com/ruby/rubygems/commit/61340081c6

Co-authored-by: Aaron Patterson &lt;tenderlove@ruby-lang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Use spaces around optional parameter values</title>
<updated>2025-08-18T03:31:51+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-08-11T20:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7125f7635d43f67b1664bf85e72a34d868259822'/>
<id>7125f7635d43f67b1664bf85e72a34d868259822</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/b58829a868
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/b58829a868
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Don't worry about missing Makefile.</title>
<updated>2025-08-18T03:31:51+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2025-07-27T23:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d4bf58b56e7c31b9e838d9ff86e2b13027cb54ea'/>
<id>d4bf58b56e7c31b9e838d9ff86e2b13027cb54ea</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/0e92346d88
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/0e92346d88
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Disable `install_extension_in_lib` when cross-compiling</title>
<updated>2024-06-18T00:59:36+00:00</updated>
<author>
<name>Yuta Saito</name>
<email>kateinoigakukun@gmail.com</email>
</author>
<published>2024-05-15T07:58:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=97a23db5acc87c3a44bd005aef00c8003f45adb4'/>
<id>97a23db5acc87c3a44bd005aef00c8003f45adb4</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/643e154f32
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/643e154f32
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add `--target-rbconfig` option to `gem install` and `gem update` commands</title>
<updated>2024-06-18T00:59:35+00:00</updated>
<author>
<name>Yuta Saito</name>
<email>kateinoigakukun@gmail.com</email>
</author>
<published>2024-05-04T21:23:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=273d41b9e3c90d4d3fe2ffcb88477197d528b9a0'/>
<id>273d41b9e3c90d4d3fe2ffcb88477197d528b9a0</id>
<content type='text'>
This patch adds `--target-rbconfig` option to specify the rbconfig.rb file
for the deployment target platform. This is useful when cross-compiling
gems. At the moment, this option is only available for `extconf.rb`-based
extensions.

https://github.com/rubygems/rubygems/commit/cf2843f7a2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds `--target-rbconfig` option to specify the rbconfig.rb file
for the deployment target platform. This is useful when cross-compiling
gems. At the moment, this option is only available for `extconf.rb`-based
extensions.

https://github.com/rubygems/rubygems/commit/cf2843f7a2
</pre>
</div>
</content>
</entry>
</feed>
