mudge / re2

Ruby bindings to RE2, a "fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python".
http://mudge.name/re2/
BSD 3-Clause "New" or "Revised" License
129 stars 13 forks source link

Upgrade to rake-compiler-dock 1.5.1 #155

Closed mudge closed 3 months ago

mudge commented 3 months ago

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.