- Nov 03, 2023
-
-
Mislav Marohnić authored
-
Mislav Marohnić authored
Automatically link to Homebrew openssl
-
- Nov 02, 2023
-
-
Mislav Marohnić authored
-
Mislav Marohnić authored
If a system OpenSSL version was not found or is at version that is incompatible with a Ruby being installed, ruby-build would typically download and compile a new OpenSSL version scoped to that Ruby installation. Now the `needs_openssl` condition will also check for Homebrew-installed OpenSSL and automatically link to the first one found that satisfies the version requirement. This primarily helps speed up Ruby installation on macOS where the system OpenSSL is never compatible and where Homebrew is a de-facto standard package manager.
-
Mislav Marohnić authored
Example: install_package openssl-1.1 "https://..." --if needs_openssl:1.0.1-3.1.x In the example, the two values are passed as arguments to the `needs_openssl` function.
-
- Oct 28, 2023
-
-
Mislav Marohnić authored
Unmark Ruby 2.7 as soon-to-be-EOL since it's already EOL
-
- Oct 27, 2023
-
-
Mislav Marohnić authored
-
- Oct 25, 2023
-
-
Benoit Daloze authored
-
Benoit Daloze authored
-
Hiroshi SHIBATA authored
Bump up OpenSSL 3.1.4
-
Hiroshi SHIBATA authored
-
- Oct 23, 2023
-
-
Benoit Daloze authored
-
Mislav Marohnić authored
LC_CTYPE is "utf-8" on macOS, which instructs utilities like `tr` to expect Unicode input. However, in case of binary files, which we here explicitly guard against, the utility will fail because of invalid input encoding. The solution is to set LC_CTYPE=C which effectively removes the expectation around input encoding and allows `tr` to process the input byte-by-byte.
-
- Oct 20, 2023
-
-
Mislav Marohnić authored
This is to allow JRuby itself to check for compatible OpenSSL versions and not have ruby-build abort early on macOS.
-
Mislav Marohnić authored
TruffleRuby build definitions used to explicitly rely on `brew --prefix openssl@1.1` on macOS and abort installation if that was not found. However, this check didn't take into account that the user might have set OPENSSL_PREFIX in their environment, or that they have another `openssl@*` version installed via Homebrew. This change removes the `use_homebrew_openssl` check and allows TruffleRuby to perform its own OpenSSL detection. https://github.com/oracle/truffleruby/blob/vm-23.1.0/lib/truffle/truffle/openssl-prefix.rb#L14-L17
-
- Oct 18, 2023
-
-
Hiroshi SHIBATA authored
Add JRuby 9.4.4.0
-
Charles Oliver Nutter authored
-
- Oct 17, 2023
-
-
Mislav Marohnić authored
Add tests for functionality related to linking to OpenSSL
-
Mislav Marohnić authored
-
Mislav Marohnić authored
- Now only generates a `configure` script if explicitly specified - Add ability to add arbitrary files to the tarball - Cache most common tarballs in fixtures directory to speed up tests
-
- Oct 16, 2023
-
-
Mislav Marohnić authored
Remove implicit LDFLAGS, CPPFLAGS, and "ldflags_dirs" build step
-
Mislav Marohnić authored
-
Mislav Marohnić authored
Cleanup in OpenSSL compilation step
-
- Oct 14, 2023
-
-
Mislav Marohnić authored
Avoid compiling OpenSSL if the user supplied `--with-openssl-dir` on the command line
-
Mislav Marohnić authored
Reuse original `build_package_copy` instead of having to maintain an additional `build_package_copy_to` step. As a bonus, this prevents a global variable `to` from leaking.
-
Benoit Daloze authored
-
- Oct 13, 2023
-
-
Mislav Marohnić authored
Add RUBY_BUILD_TARBALL_OVERRIDE to override the ruby tarball URL
-
Mislav Marohnić authored
Same with linking libyaml, gmp, etc. to Homebrew. This considers all user configuration inputs when checking for existing flags.
-
Mislav Marohnić authored
-
Mislav Marohnić authored
The default settings for LDFLAGS and CPPFLAGS were there since the initial commit to ruby-build: LDFLAGS="-L${PREFIX_PATH}/lib" CPPFLAGS="-I${PREFIX_PATH}/include" However, it's not clear to me what these settings help with. A typical Ruby installation will initialize files in these directories, but it will do so regardless of the environment variables. So, let's remove them and see what breaks.
-
Mislav Marohnić authored
- The `make -j 1` workaround seems neither in effect nor necessary anymore - Assume that KERNEL_BITS workaround isn't necessary anymore - Declare more variables as local
-
- Oct 12, 2023
-
-
Benoit Daloze authored
* Update the check for whether a package is a ruby.
-
Benoit Daloze authored
-
Benoit Daloze authored
* macos-arm64 runners recently became available for ruby/truffleruby-dev-builder. * Those builds are more frequently updated than on graalvm-ce-dev-builds.
-
Mislav Marohnić authored
-
- Oct 11, 2023
-
-
Mislav Marohnić authored
Pass ruby configuration flags on the command line
-
Mislav Marohnić authored
-
Mislav Marohnić authored
-
Mislav Marohnić authored
-
Mislav Marohnić authored
-