From d8c3753b8b9919bb8f78b57bde44252f7dfc523b Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Thu, 24 Oct 2024 21:10:12 +0200 Subject: [PATCH] Update to postgresql-17.0 and openssl-3.4.0 for Windows binary gems --- Rakefile.cross | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Rakefile.cross b/Rakefile.cross index c01b77b5f..9ba2aee89 100644 --- a/Rakefile.cross +++ b/Rakefile.cross @@ -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. @@ -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