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
Benoit Daloze
deb3dd0e89
ruby-build 20220426
2022-04-26 15:05:44 +02:00
Benoit Daloze
d3bbd54d58
ruby-build 20220415
2022-04-15 12:21:25 +02:00
Levi Pearson
5c814edb02
Allow truffleruby to install in an existing empty directory
...
The check to prevent deleting user files during clean_prefix_path by disallowing
installs into existing directories that weren't earlier truffleruby installs broke
asdf installs, as asdf always creates an empty directory before installing.
This fix adds a second exception to the existing directory case when that directory
is empty. The check is done via testing the length of ls output. The logic was
manually tested against non-existing directories, existing empty directories,
existing non-empty directories in general, and existing non-empty directories
that contained a file named "bin/truffleruby".
I also copied the file over my existing asdf version of ruby-build and made sure that
it successfully installed truffleruby.
2022-04-12 16:27:47 +02:00
Benoit Daloze
2004fd71be
ruby-build 20220412
2022-04-12 16:25:10 +02:00
Hiroshi SHIBATA
a5ca3e4872
ruby-build 20220324
2022-03-24 07:03:29 +09:00
Hiroshi SHIBATA
2a0475f03e
ruby-build 20220218
2022-02-18 21:22:41 +09:00
Benoit Daloze
cbdbc6e44b
ruby-build 20220125
2022-01-25 19:18:52 +01:00
Hiroshi SHIBATA
8663d2ff83
ruby-build 20211227
2021-12-27 09:14:27 +09:00
Hiroshi SHIBATA
9c556f210a
ruby-build 20211225
2021-12-25 22:22:31 +09:00
Hiroshi SHIBATA
7ffe3c35a4
ruby-build 20211203
2021-12-03 08:47:48 +09:00
Benoit Daloze
f6a5330fa4
ruby-build 20211201
2021-12-01 21:28:23 +01:00
Benoit Daloze
6147a6dae9
ruby-build 20211124
2021-11-24 18:51:12 +01:00
Hiroshi SHIBATA
d796c17945
ruby-build 20211109
2021-11-09 19:33:13 +09:00
Benoit Daloze
30eb72fe77
ruby-build 20211019
2021-10-19 17:07:37 +02:00
Benoit Daloze
f50312a59a
ruby-build 20210928
2021-09-28 12:42:18 +02:00
Benoit Daloze
e607953dbf
Fix version check for Java 17
...
* Fixes https://github.com/rbenv/ruby-build/issues/1798
* OpenJDK 17 reports:
$ java -version
openjdk version "17" 2021-09-14
There is no dot in the version, so we need to only use the first match from grep -o.
* Clarify it is a minimum required java version, not an exact version.
2021-09-28 12:42:07 +02:00
Benoit Daloze
bba976f9d8
ruby-build 20210925
2021-09-25 12:25:45 +02:00
Hiroshi SHIBATA
fceea42526
ruby-build 20210825
2021-08-25 09:14:03 +09:00
Benoit Daloze
f82c1e8cb2
ruby-build 20210804
2021-08-04 15:28:36 +02:00
Benoit Daloze
887a13f86a
ruby-build 20210801
2021-08-01 15:26:24 +02:00
Benoit Daloze
75c2fe4560
ruby-build 20210726
2021-07-26 17:44:58 +02:00
Benoit Daloze
ac72249e04
Ensure it is safe to remove the prefix path for TruffleRuby or error
...
* Only do clean_prefix_path for TruffleRuby and rename for clarity,
since the logic is now TruffleRuby-specific.
2021-07-26 17:44:28 +02:00
Benoit Daloze
d62e1d41cd
ruby-build 20210720
2021-07-20 19:59:07 +02:00
Benoit Daloze
f8e17bb435
ruby-build 20210707
2021-07-07 19:21:16 +02:00
Benoit Daloze
6b5c814822
ruby-build 20210611
2021-06-11 11:40:23 +02:00