Commit graph

2,714 commits

Author SHA1 Message Date
Charles Oliver Nutter
573f87a93b
Merge pull request #2653 from headius/jruby-10.0.8.0-10.1.3.0
JRuby 10.0.8.0
2026-11-05 16:11:03 -06:00
Charles Oliver Nutter
3943d26446 JRuby 10.0.8.0 2026-11-05 16:06:53 -06:00
Hiroshi SHIBATA
cd54d2c33d
Merge pull request #2652 from sferik/jruby_10.1.3.0
Add JRuby 10.1.3.0
2026-11-06 06:03:31 +09:00
Erik Berlin
efb9c19a56
Add JRuby 10.1.3.0 2026-11-05 12:04:42 -08:00
Hiroshi SHIBATA
4ef3159f94
Merge pull request #2651 from rbenv/claude/openssl-1-0-serial-make-df0834
Build OpenSSL 1.0 without parallel make
2026-11-02 07:14:39 +09:00
Hiroshi SHIBATA
6c959eabd8 Build OpenSSL 1.0 without parallel make
Two `ar` runs into libcrypto.a can overlap under make -j and drop each other's objects, which breaks every Ruby 2.3 and older build on the ubuntu-26.04 runners. The `-j 1` that used to prevent this stopped taking effect when 3a4d3fb0 moved MAKE_OPTS after the package options, and 6663720f removed it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 06:12:04 +09:00
Benoit Daloze
b84455fe38
Merge pull request #2650 from eregon/gcc15-ruby27
Put -std=gnu17 on CC for Ruby 2.7 too, its configure ignores cflags
2026-10-31 21:20:43 +01:00
Benoit Daloze
091a117c6f Put -std=gnu17 on CC for Ruby 2.7 too, its configure ignores cflags
The configure script of Ruby 2.7.8 is generated by Autoconf 2.71, which
runs AC_PROG_CC (setting CFLAGS=-g -O2) before Ruby's own
`test -z "${CFLAGS+set}"` check, so the cflags configure variable is
silently ignored and Ruby 2.7 was still compiled as C23 on GCC 15.
Ruby 3.0+ unset CFLAGS again in that case, and the tarballs of 2.0 to
2.5 ship an Autoconf 2.69 configure which runs the check first.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-31 21:15:46 +01:00
Benoit Daloze
1123436bc9
Merge pull request #2649 from eregon/gcc15-old-rubies
Build Ruby < 3.2 with GCC 15 everywhere, not only on Fedora
2026-10-31 20:51:07 +01:00
Benoit Daloze
13e8b39e0b Build Ruby < 3.2 with GCC 15 everywhere, not only on Fedora
GCC 15 defaults to C23, which Ruby < 3.2 can't compile as. Detect the
GCC version instead of the OS, so that e.g. Ubuntu 26.04 is handled too.

The flag keeps going through the cflags configure variable, except for
Ruby 2.6 where it goes on CC, because its MJIT header check runs a bare
$(CC) and would otherwise fail.

Ported from https://github.com/ruby/ruby-builder/pull/31

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-31 20:38:49 +01:00
Hiroshi SHIBATA
b6a92c15f0
ruby-build 20261023 v20261023 2026-10-23 13:47:16 +09:00
GitHub Actions Bot
3f5262a6c8 Added 3.3.13 with OpenSSL 3.0.22 2026-10-23 04:28:12 +00:00
GitHub Actions Bot
bc1bc55b04 Added 4.0.9 with OpenSSL 3.0.22 2026-10-23 04:04:29 +00:00
GitHub Actions Bot
64bea4d22f Added 3.4.12 with OpenSSL 3.0.22 2026-10-23 04:00:13 +00:00
GitHub Actions Bot
4137d03923 Added 4.0.8 with OpenSSL 3.0.22 2026-10-22 07:08:24 +00:00
Hiroshi SHIBATA
1d2189d7dd
Merge pull request #2647 from p-linnane/openssl4-support
Allow OpenSSL 4 for Rubies that support it
2026-10-22 10:17:03 +09:00
Patrick Linnane
4cb0afbecc
Allow OpenSSL 4 for Rubies that support it
Ruby/OpenSSL 3.2.4, 3.3.3 and 4.0.2 added OpenSSL 4 support and ship
with Ruby 3.3.12, 3.4.10 and 4.0.6. Widen the needs_openssl upper
bound to 4.x.x for those releases and later, including the matching
development definitions, so an installed OpenSSL 4 is used instead of
vendoring OpenSSL 3. Make update-cruby apply the same boundaries to
new definitions, and cover a 4.x.x upper bound in the build tests.

Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-10-13 19:53:11 -07:00
Hiroshi SHIBATA
7eacc0aaf0
ruby-build 20261013 v20261013 2026-10-13 07:54:05 +09:00
GitHub Actions Bot
36d503707c Added 4.1.0-preview1 with OpenSSL 3.0.22 2026-10-12 09:22:13 +00:00
Mislav Marohnić
1d79f385aa
Merge pull request #2646 from rbenv/jruby-S3-bucket
JRuby: update obsolete download URLs
2026-10-07 14:24:24 +02:00
Mislav Marohnić
b1d1866855
JRuby: update obsolete download URLs 2026-09-30 21:18:44 +02:00
Hiroshi SHIBATA
db86e6ddd6
ruby-build 20260924 v20260924 2026-09-24 09:09:01 +09:00
GitHub Actions Bot
be7b51df10 Added 3.4.11 with OpenSSL 3.0.22 2026-09-23 06:13:33 +00:00
Charles Oliver Nutter
cffb97ef3a
Merge pull request #2645 from headius/jruby_10.1.2.0_10.0.7.0
Add JRuby 10.0.7.0 and 10.1.2.0
2026-09-21 17:57:02 -05:00
Charles Oliver Nutter
10e31807fe Add JRuby 10.0.7.0 and 10.1.2.0 2026-09-21 17:54:43 -05:00
Benoit Daloze
01800b0594 ruby-build 20260917 v20260917 2026-09-17 13:28:37 +02:00
Benoit Daloze
13b88f5809
Merge pull request #2643 from rbenv/truffleruby-40.0.0
Add TruffleRuby 40.0.0
2026-09-17 13:27:13 +02:00
Benoit Daloze
e5a40f913f Add TruffleRuby 40.0.0 2026-09-17 13:24:58 +02:00
Hiroshi SHIBATA
fd50704763
ruby-build 20260916 v20260916 2026-09-16 09:49:03 +09:00
Hiroshi SHIBATA
9072838d9a
Merge pull request #2641 from rbenv/claude/ruby-build-2640-patch-607d0a
Hide dup3() and pipe2() from configure on macOS older than 27
2026-09-16 09:48:15 +09:00
Hiroshi SHIBATA
6ac4038204
Hide dup3() and pipe2() from configure on macOS older than 27
The macOS 27 SDK declares both as available since macOS 27.0, and
`AC_CHECK_FUNCS` detects them regardless of the deployment target, so
Ruby built on macOS 26 with the Command Line Tools 27 calls weakly
linked NULL symbols and crashes miniruby during the build.

https://bugs.ruby-lang.org/issues/22311
https://github.com/rbenv/ruby-build/issues/2640

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 09:14:57 +09:00
Benoit Daloze
59b1392a15
Merge pull request #2639 from eregon/release-script-set-x-flag
Set -x flag for release script to show commands being run
2026-09-15 23:36:40 +02:00
Benoit Daloze
eff399fced Set -x flag for release script to show commands being run
* This makes it much easier to rerun a command if it failed
  and to know where the script stopped.
2026-09-15 13:35:45 +02:00
Benoit Daloze
8f9a450872 ruby-build 20260915 v20260915 2026-09-15 13:25:38 +02:00
GitHub Actions Bot
52d16a1321 Added 4.0.7 with OpenSSL 3.0.22 2026-09-15 00:40:42 +00:00
Mislav Marohnić
a1c1a85137
ruby-build 20260902 v20260902 2026-09-02 16:01:49 +02:00
Mislav Marohnić
78d71ae09d
Fix removing -O3 on ruby-dev and Ruby < 3.2 on Fedora 42+ (#2638)
Exporting CFLAGS overrides Ruby's default optflags/debugflags/warnflags,
notably losing -O3 and silently producing a much slower (-O0) Ruby.
The cflags configure variable is appended to those defaults instead.
Keep prepending to CFLAGS when the user already overrides CFLAGS,
since configure ignores cflags when CFLAGS is given.

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-02 16:01:05 +02:00
Benoit Daloze
5b39cda851 Treat the dev version as newer than any release in normalize_semver
normalize_semver("dev") returned 0, so ruby-dev was treated as older
than any released version and version-gated workarounds misfired.
Notably the Fedora 42+ -std=gnu17 workaround for Ruby < 3.2 was
applied to ruby-dev builds, which do not need it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 16:40:31 +02:00
Benoit Daloze
7177e5c1b3 Clarify that RUBY_CFLAGS overrides Ruby's default CFLAGS
"Additional" was misleading: passing CFLAGS to Ruby's configure replaces
the default optflags/debugflags/warnflags, so e.g. RUBY_CFLAGS=-march=native
silently builds an unoptimized (-O0) Ruby. Document the overriding
semantics and point to RUBY_CONFIGURE_OPTS=cflags=... for adding flags.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 16:40:11 +02:00
Benoit Daloze
692136ba52 Let CFLAGS override everything, it's the purpose of CFLAGS 2026-08-31 16:40:11 +02:00
Benoit Daloze
5060d0f73c Use the cflags configure variable for the -std=gnu17 workaround
Exporting CFLAGS overrides Ruby's default optflags/debugflags/warnflags,
notably losing -O3 and silently producing a much slower (-O0) Ruby.
The cflags configure variable is appended to those defaults instead.
Keep prepending to CFLAGS when the user already overrides CFLAGS,
since configure ignores cflags when CFLAGS is given.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 16:29:08 +02:00
Charles Oliver Nutter
13b73fe96f
Merge pull request #2635 from headius/jruby-10.1.1.0
JRuby 10.1.1.0
2026-07-22 12:05:53 -06:00
Charles Oliver Nutter
c2018db84f JRuby 10.1.1.0 2026-07-22 13:03:48 -05:00
Hiroshi SHIBATA
013c27d7e5
ruby-build 20260716 v20260716 2026-07-16 14:42:11 +09:00
GitHub Actions Bot
36354213a9 Added 3.3.12 with OpenSSL 3.0.21 2026-07-16 05:13:19 +00:00
Hiroshi SHIBATA
6430845f97
ruby-build 20260714 v20260714 2026-07-14 11:04:51 +09:00
GitHub Actions Bot
42551264a9 Added 4.0.6 with OpenSSL 3.0.21 2026-07-14 01:46:56 +00:00
Hiroshi SHIBATA
9207ff8331
ruby-build 20260701 v20260701 2026-07-01 14:32:58 +09:00
GitHub Actions Bot
db626efe00 Added 3.4.10 with OpenSSL 3.0.21 2026-06-30 11:28:07 +00:00
Hiroshi SHIBATA
30be9e3123
Merge pull request #2629 from rbenv/dependabot/github_actions/actions/checkout-7
Bump actions/checkout from 6 to 7
2026-06-24 10:35:53 +09:00