Commit graph

655 commits

Author SHA1 Message Date
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
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
Mislav Marohnić
0ddb8c19b4
ruby-build 20221101 2022-11-01 17:47:02 +01:00
Benoit Daloze
b53ab982a3 ruby-build 20221026 2022-10-25 18:17:04 +02:00
Hiroshi SHIBATA
2be9da54a2
ruby-build 20221025 2022-10-25 07:27:58 +09:00
Mislav Marohnić
55575fdb5e
ruby-build 20221004 2022-10-04 16:21:34 +02:00
Mislav Marohnić
a4ac4be47f
ruby-build 20220930 2022-09-30 20:17:36 +02:00
Hiroshi SHIBATA
2443ff3d56
Merge pull request #2049 from rbenv/support-opensuse-openssl
Allow OPENSSL_VERSION_TEXT string match without last line for OpenSUSE
2022-09-22 19:14:29 +09:00
Jean Boussier
1f9b792168 macOS: Use GMP from homebrew
MRI's BigInt use GMP under the hood if available, and if not
fallbacks to an homemade implementation with much worse performance.

Without GMP:
```
>> Benchmark.realtime { Integer('1' * (10 ** 7)) }
=> 13.80743500002427
```

With GMP
```
>> Benchmark.realtime { Integer('1' * (10 ** 7)) }
=> 0.4098639999865554
```

macOS not being a common production platform, it's not a huge deal
but it would still preferable to compile with `gmp.h` if present.

I'd also suggest to print a warning if compiling on macOS and gmp
isn't installed, but I don't know if it's desirable.

NB: `--with-gmp-dir` was only added recently, so this will only
apply to MRI >= 3.2, as well as rubies on which this flag was backported.
2022-09-22 08:56:34 +02:00
Hiroshi SHIBATA
7fdf6ecfe0
Allow OPENSSL_VERSION_TEXT string match without last line for OpenSUSE 2022-09-22 13:08:23 +09:00
Hiroshi SHIBATA
5690c5d075
ruby-build 20220910.1 2022-09-10 15:01:09 +09:00
Hiroshi SHIBATA
9adbe64fc3
ruby-build 20220910 2022-09-10 14:37:30 +09:00
Hiroshi SHIBATA
87c525d479
not needed + 2022-09-10 14:33:18 +09:00
Hiroshi SHIBATA
7260a2c837
bash didn't provide \d 2022-09-10 14:29:40 +09:00
Hiroshi SHIBATA
019c011542
ruby-build 20220909 2022-09-09 11:12:11 +09:00
Maxime Chevalier-Boisvert
61b68bbad4
Fix required rustc version for YJIT in output 2022-09-01 22:17:43 -04:00