Skip to content

Commit

Permalink
Update to postgresql-17.0 and openssl-3.4.0 for Windows binary gems
Browse files Browse the repository at this point in the history
  • Loading branch information
larskanis committed Oct 24, 2024
1 parent 86367c6 commit d8c3753
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 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.3.2'
self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '16.4'
self.openssl_version = ENV['OPENSSL_VERSION'] || '3.4.0'
self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '17.0'

# 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 @@ -289,6 +289,7 @@ CrossLibraries.each do |xlib|
task "gem:windows:#{platform}" => ['gem:windows:prepare', xlib.openssl_tarball, xlib.postgresql_tarball] do
RakeCompilerDock.sh <<-EOT, platform: platform
(cp build/gem/gem-*.pem ~/.gem/ || true) &&
sudo apt-get update && sudo apt-get install -y bison flex &&
bundle install --local &&
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
Expand Down

0 comments on commit d8c3753

Please sign in to comment.