Skip to content

Commit

Permalink
Upgrade to rake-compiler-dock 1.5.1
Browse files Browse the repository at this point in the history
Since RE2 2024-06-01, the CI build for x86-linux and x86_64-linux slowed
from around 15 minutes to almost an hour. This turned out to be due to
the rake-compiler-dock images for those platforms having pkg-config
0.27.1 which performs very slowly with RE2's .pc file compared to more
recent versions. This will instead use pkg-config 0.29.2 which should
take a fraction of a second compared to the minutes 0.27.1 took to
execute commands such as `pkg-config --libs-only-L --static re2.pc`.

Thanks to @flavorjones for putting out a fix so promptly.
  • Loading branch information
mudge committed Jun 4, 2024
1 parent d61c377 commit 88f046d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion re2.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Gem::Specification.new do |s|
"spec/re2/scanner_spec.rb"
]
s.add_development_dependency("rake-compiler", "~> 1.2.7")
s.add_development_dependency("rake-compiler-dock", "~> 1.5.0")
s.add_development_dependency("rake-compiler-dock", "~> 1.5.1")
s.add_development_dependency("rspec", "~> 3.2")
s.add_runtime_dependency("mini_portile2", "~> 2.8.7") # keep version in sync with extconf.rb
end

0 comments on commit 88f046d

Please sign in to comment.