Skip to content

Commit

Permalink
Update libraries for windows binary gems to openssl-3.3.1 and postgre…
Browse files Browse the repository at this point in the history
…sql-16.3

OpenSSL quotes MAKE env variable, so that we use MAKEOPTS now.
  • Loading branch information
larskanis committed Jul 20, 2024
1 parent 0508e25 commit c16d131
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rakefile.cross
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class CrossLibrary < OpenStruct
self.host_platform = toolchain

# Cross-compilation constants
self.openssl_version = ENV['OPENSSL_VERSION'] || '3.2.1'
self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '16.2'
self.openssl_version = ENV['OPENSSL_VERSION'] || '3.3.1'
self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '16.3'

# Check if symlinks work in the current working directory.
# This fails, if rake-compiler-dock is running on a Windows box.
Expand Down Expand Up @@ -291,7 +291,7 @@ CrossLibraries.each do |xlib|
RakeCompilerDock.sh <<-EOT, platform: platform
(cp build/gem/gem-*.pem ~/.gem/ || true) &&
bundle install --local &&
rake native:#{platform} pkg/#{$gem_spec.full_name}-#{platform}.gem MAKE="make -j`nproc`" RUBY_CC_VERSION=3.3.0:3.2.0:3.1.0:3.0.0:2.7.0:2.6.0:2.5.0
rake native:#{platform} pkg/#{$gem_spec.full_name}-#{platform}.gem MAKEOPTS=-j`nproc` RUBY_CC_VERSION=3.3.0:3.2.0:3.1.0:3.0.0:2.7.0:2.6.0:2.5.0
EOT
end
desc "Build the windows binary gems"
Expand Down

0 comments on commit c16d131

Please sign in to comment.