From 2534d665e0e5dfc9ff21640df32122e88fb138f7 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sun, 22 Oct 2023 21:24:36 -0700 Subject: [PATCH] Upgrade mini_portile to v2.8.5 This update builds abseil-cpp in Release mode (https://github.com/flavorjones/mini_portile/pull/136). For the x86_64 shared object, it appears that this shrinks `re2.so`from 2766744 bytes to 1506992 bytes, a 45% reduction. --- ext/re2/recipes.rb | 2 +- re2.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/re2/recipes.rb b/ext/re2/recipes.rb index 2ee2698f..18e5d01f 100644 --- a/ext/re2/recipes.rb +++ b/ext/re2/recipes.rb @@ -1,5 +1,5 @@ PACKAGE_ROOT_DIR = File.expand_path('../..', __dir__) -REQUIRED_MINI_PORTILE_VERSION = '~> 2.8.4' # keep this version in sync with the one in the gemspec +REQUIRED_MINI_PORTILE_VERSION = '~> 2.8.5' # keep this version in sync with the one in the gemspec def build_recipe(name, version) require 'rubygems' diff --git a/re2.gemspec b/re2.gemspec index dbb64de4..1a7475d8 100644 --- a/re2.gemspec +++ b/re2.gemspec @@ -40,5 +40,5 @@ Gem::Specification.new do |s| s.add_development_dependency("rake-compiler", "~> 1.2.1") s.add_development_dependency("rake-compiler-dock", "~> 1.3.0") s.add_development_dependency("rspec", "~> 3.2") - s.add_runtime_dependency("mini_portile2", "~> 2.8.4") # keep version in sync with extconf.rb + s.add_runtime_dependency("mini_portile2", "~> 2.8.5") # keep version in sync with extconf.rb end