Commit graph

733 commits

Author SHA1 Message Date
Benoit Daloze
536495d1d3 ruby-build 20231014 2023-10-14 12:19:11 +02:00
Benoit Daloze
216084d334 Add RUBY_BUILD_TARBALL_OVERRIDE to override the ruby tarball URL
* Update the check for whether a package is a ruby.
2023-10-12 11:48:03 +02:00
Benoit Daloze
4bf2fece5e ruby-build 20231012 2023-10-12 11:46:39 +02:00
Mislav Marohnić
b4b1dd20ce
Enable shellcheck parsing of ruby-build source (#2268) 2023-10-12 11:10:43 +02:00
Mislav Marohnić
d9bdc904b9
💅 RUBY_CONFIGURE_OPTS_ARRAY 2023-10-11 18:02:07 +02:00
Mislav Marohnić
fbdf88cc13
Accept ruby configuration flags as extra position arguments on the command line 2023-10-11 18:02:07 +02:00
Mislav Marohnić
f7d63b7dcb
Rework argument parsing to error out on invalid flags 2023-10-11 18:02:07 +02:00
Mislav Marohnić
c8927eefd0
Expand parse_options to preserve positional arguments after "--" 2023-10-11 15:05:03 +02:00
Thomas Hurst
4cec390699
Set default MAKE=make on FreeBSD (#2263)
This was set to gmake in https://github.com/rbenv/ruby-build/pull/1381
as a workaround for https://bugs.ruby-lang.org/issues/16331

YJIT builds in Ruby 3.3 previews require the use of BSD make on these
platforms, and no supported version of MRI requires the use of gmake, so
revert this.

JRuby continues to require gmake for jruby-launcher.

Fixes #2262

Co-authored-by: Mislav Marohnić <git@mislav.net>
2023-10-11 12:19:40 +02:00
Benoit Daloze
bfffe34ba1 ruby-build 20230919 2023-09-19 15:05:22 +02:00
Benoit Daloze
f80eb466b9 ruby-build 20230914.1 2023-09-14 18:24:20 +02:00
Hiroshi SHIBATA
1fb355bc69
ruby-build 20230914 2023-09-14 16:31:47 +09:00
João Duarte
c6e924edc8
workaround jruby#7799 by updating rubygems for JRuby 9.2.x (#2246)
Co-authored-by: Mislav Marohnić <git@mislav.net>
2023-09-12 16:08:47 +02:00
Hiroshi SHIBATA
2054401317
ruby-build 20230912 2023-09-12 07:03:32 +09:00
Benoit Daloze
97c93c6901 ruby-build 20230904 2023-09-04 20:47:19 +02:00
Mislav Marohnić
4d4678bc1e
Merge pull request #2231 from rbenv/llvm-cleanup
Remove `require_llvm` implementation
2023-08-08 10:43:56 +02:00
Mislav Marohnić
2dec28caf7
Merge pull request #2232 from rbenv/clang-cleanup
Remove `require_gcc` implementation
2023-08-04 10:53:15 +02:00
Ryan S. Northrup (RyNo)
f170c16c4a
Display the actual error when testing for Ruby's openssl extension (#2223)
I was encountering some build issues on MicroOS and needed the actual exception message in order to pinpoint a workaround.

Co-authored-by: Mislav Marohnić <git@mislav.net>
2023-08-03 16:54:27 +02:00
Mislav Marohnić
a4c6878ff5
Remove require_gcc implementation
This was only used in Ruby versions < 1.9.3, which are now EOL.

This also removes a 11-years old workaround for building Ruby 2.0 with clang.
06d7994bcf
2023-08-03 14:53:52 +02:00
Mislav Marohnić
ad1e1bc1ba
Remove require_llvm implementation
This was used by Rubinius over the years to ensure that a correct llvm version was selected from the ones available on the system, but for recent Rubinius this function is a no-op, and since Rubinius isn't an actively maintained project anymore, I don't feel strongly for keeping ruby-build workarounds that only help ancient Rubinius versions.
2023-08-03 14:34:39 +02:00
MatasNed
3d9d2cc6b4 Show openssl version used from homebrew by default 2023-08-01 16:06:42 +02:00
Benoit Daloze
35e5d2a29d ruby-build 20230717 2023-07-17 13:26:52 +02:00
Hiroshi SHIBATA
0d96e83ea3
ruby-build 20230710 2023-07-10 09:21:50 +09:00
Benoit Daloze
895f8fa40f ruby-build 20230615 2023-06-15 11:52:12 +02:00
Benoit Daloze
72b70a1049 ruby-build 20230614 2023-06-14 10:26:23 +02:00
Hiroshi SHIBATA
4effe8661b
ruby-build 20230608 2023-06-08 07:30:28 +09:00
Hiroshi SHIBATA
dc6d1973d5
ruby-build 20230512 2023-05-12 22:02:43 +09:00
Benoit Daloze
b57c7a8570 ruby-build 20230428 2023-04-28 15:35:15 +02:00
Benoit Daloze
3e196fd567 Add TruffleRuby+GraalVM 23.0.0-preview1 2023-04-28 15:34:57 +02:00
Benoit Daloze
7ed052655b ruby-build 20230424 2023-04-24 21:41:05 +02:00
Jarmo Pertman
b80e686b6e
Fix compilation of Ruby 3.2.x on FreeBSD (#2187)
* Use pkg info for readline/libedit prefix on FreeBSD instead of hardcoding it
* Use yaml and ffi installed via pkg on FreeBSD
* Remove check for FreeBSD version and allow all versions
2023-04-23 20:00:21 +02:00
Mislav Marohnić
855b9630c1
ruby-build 20230330 2023-03-30 18:01:50 +02:00
Hiroshi SHIBATA
659f089531
ruby-build 20230309 2023-03-09 10:38:37 +09:00
Mislav Marohnić
fea57ceae1
ruby-build 20230306 2023-03-06 20:28:55 +01:00
Roman Usherenko
40af31b46b
automatically detect and use Homebrew's libyaml
Co-authored-by: Mislav Marohnić <git@mislav.net>
2023-03-06 19:14:40 +01:00
Benoit Daloze
8728d68fdc ruby-build 20230222 2023-02-22 17:09:20 +01:00
Masato Ohba
46878c9646
Remove brew update instruction (#2151)
because `brew update` runs automatically on `brew upgrade` by default since long time ago.
2023-02-20 16:00:59 +01:00
Mislav Marohnić
884767aa9b
ruby-build 20230208.1 2023-02-08 17:08:20 +01:00
Hiroshi SHIBATA
dad685b198
ruby-build 20230208 2023-02-08 07:52:52 +09:00
Benoit Daloze
9445ba09dc Remove patch for openssl-1.1.1q
* No definition uses it anymore.
2023-02-07 19:40:29 +00:00
Hiroshi SHIBATA
a6976a5af3
ruby-build 20230202 2023-02-02 07:50:37 +09:00
Benoit Daloze
08f29569e1 ruby-build 20230124 2023-01-24 18:46:32 +01:00
Hiroshi SHIBATA
ce13d2825b
Completely removed subversion feature 2022-12-28 15:04:33 +09:00
Hiroshi SHIBATA
9d92a697d2
ruby-build 20221225 2022-12-25 17:37:41 +09:00
Benoit Daloze
80cef45524 ruby-build 20221206 2022-12-06 12:11:43 +01:00
Hiroshi SHIBATA
4f4f3078d8
ruby-build 20221124 2022-11-24 23:15:28 +09:00
Benoit Daloze
6810337be3 ruby-build 20221123 2022-11-23 22:48:12 +01:00
Benoit Daloze
5eb8c65e3f ruby-build 20221121 2022-11-21 12:40:08 +01:00
Mislav Marohnić
66311de0f8
ruby-build 20221116 2022-11-16 18:06:23 +01:00
Mislav Marohnić
e6a7b335ec
Do not automatically enable YJIT nor attempt to detect rustc
Latest Ruby 3.2 development version now detects `rustc` on the system and automatically assumes `--enable-yjit` on susupported platforms unless `--disable-yjit` was explicitly passed.
2022-11-16 17:30:25 +01:00