Commit graph

671 commits

Author SHA1 Message Date
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
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