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ć
7de903c560
Fix rbenv install --list exit status
2022-10-03 13:28:58 +02:00
Mislav Marohnić
a4ac4be47f
ruby-build 20220930
2022-09-30 20:17:36 +02:00
Mislav Marohnić
2b955e7ee3
List output: only print stderr notice if printing to a terminal
...
This makes it easier to redirect `rbenv install -l` output without having to silence stderr to get rid of the extra notice.
2022-09-29 15:44:48 +02:00
Mislav Marohnić
cde170b581
Suggest rbenv global if there is no explicit global setting ( #2052 )
...
Upon installing their first Ruby version on the system, the user may want to set it as their default; otherwise the default will remain "system" and any `gem install` attempts will fail with a permission error.
This suggestion is skipped if the user already has chosen an explicit default, even if it's "system".
2022-09-25 11:20:43 +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
Hiroshi SHIBATA
e71c4b9468
Fix * regex usage of bash
...
suggested by @k0kubun
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2022-09-01 17:54:45 +09:00
Hiroshi SHIBATA
d0c0ac3d11
Relax rustc version from 1.58.1
2022-09-01 13:57:37 +09:00
Benoit Daloze
1f6b94cc93
uname -m is aarch64 on Linux
2022-08-30 12:36:04 +02:00
Hiroshi SHIBATA
373e71aa10
Use -o for or condition
...
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2022-08-30 07:47:38 +09:00
Hiroshi SHIBATA
ccce79a5a7
Followed up https://github.com/rbenv/ruby-build/pull/2028
2022-08-30 07:32:19 +09:00
Hiroshi SHIBATA
32f0e3040b
YJIT support arm64 and aarch64 arch
2022-08-30 07:02:49 +09:00
Benoit Daloze
7f756a7bce
ruby-build 20220825
2022-08-25 20:43:06 +02:00
Benoit Daloze
a753b24551
Show the log file to make it easy to follow progress
...
* Fixes https://github.com/rbenv/ruby-build/issues/1721
2022-08-06 13:04:40 +02:00
Benoit Daloze
44c91aa270
ruby-build 20220726
2022-07-26 15:18:20 +02:00
Benoit Daloze
d04f81fb75
ruby-build 20220725
2022-07-25 18:46:36 +02:00
Benoit Daloze
e139c26bdf
Only check the opensslv.h header to find the system openssl version
...
* `openssl version` can be another version than the header, for instance with
`apt-get install --no-install-recommends ca-certificates libssl1.0-dev` on Ubuntu 18.04:
https://github.com/rbenv/ruby-build/discussions/2014#discussioncomment-3224237
2022-07-25 18:46:18 +02:00
Benoit Daloze
7866a26bed
ruby-build 20220721
2022-07-21 13:41:23 +02:00
Hiroshi SHIBATA
cfb1fe850b
Use inline patch instead of curl download
2022-07-21 13:38:53 +02:00
Hiroshi SHIBATA
7b24ca370e
Apply patch for implicitly declaration error of OpenSSL 1.1.1q
2022-07-21 13:38:53 +02:00
Benoit Daloze
7399e92f1f
Remove extra paren
2022-07-14 19:42:01 +02:00
Noah Gibbs
f9299a6332
Update bin/ruby-build
...
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2022-07-14 19:42:01 +02:00
Noah Gibbs
b32d291a0f
Update bin/ruby-build
...
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2022-07-14 19:42:01 +02:00
Noah Gibbs
cb51ccc3f5
Update bin/ruby-build
...
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2022-07-14 19:42:01 +02:00
Noah Gibbs (and/or Benchmark CI)
813153b779
build_package_enable_yjit should echo to stderr, not stdout
2022-07-14 19:42:01 +02:00
Noah Gibbs (and/or Benchmark CI)
fde11263df
Restructure build_package_enable_yjit to be cleaner and to exit before later checks if possible.
2022-07-14 19:42:01 +02:00
Noah Gibbs (and/or Benchmark CI)
7a07add472
Don't auto-enable YJIT except on x86_64
2022-07-14 19:42:01 +02:00
Noah Gibbs (and/or Benchmark CI)
807a371a3e
For Ruby 3.2.0-dev, install YJIT by default if rustc 1.60+ is available
2022-07-13 20:54:15 +02:00
Benoit Daloze
f81980b599
ruby-build 20220713
2022-07-13 12:14:32 +02:00
Benoit Daloze
98c03377c1
ruby-build 20220710
2022-07-10 14:05:12 +02:00
Benoit Daloze
472d40fbb1
Cleanup
2022-07-10 14:04:58 +02:00
Benoit Daloze
b945b7ae84
Install openssl whenever the system version does not match
...
* Make supported openssl versions explicit per definition.
2022-07-10 14:04:58 +02:00
Kazuhiro NISHIYAMA
fb0e82c647
Install openssl 1 when openssl is 3
2022-07-10 14:04:58 +02:00
Hiroshi SHIBATA
58cda904b7
ruby-build 20220630
2022-06-30 07:13:58 +09:00
HASUMI Hitoshi
bcb9277365
Add picoruby-3.0.0
2022-06-28 15:18:51 +09:00
Benoit Daloze
30d6879dbb
ruby-build 20220610
2022-06-10 15:46:00 +02:00
Benoit Daloze
1038c0786f
OpenSSL 1.1+ needs the extra install_ssldirs target to install certificates
2022-05-11 13:28:30 +02:00
Jordan Ritter
720a96bf29
Re-enable ssldir creation target for openssl install
...
Prior commit attempts to shorten install by omitting documentation install,
however an additional target is needed to get the conf dirs for capturing the
PEMs et al.
2022-05-11 13:28:30 +02:00
Benoit Daloze
c0d87ea452
Skip building docs when building openssl
...
* See https://github.com/openssl/openssl/issues/8170
* The install_sw target exists since 1.0.0 or earlier:
https://github.com/openssl/openssl/blob/OpenSSL_1_0_0-stable/Makefile.org
2022-05-01 12:43:05 +02:00