Closed
Description
RE2 2024-06-01 uses more of Abseil which has caused the amount of time spent running pkg-config --libs-only-L --static re2.pc
within the rake-compiler-dock images for x86-linux and x86_64-linux to significantly increase.
Both images use CentOS 7's latest version of pkgconfig
: 0.27.1 but the latest version available is 0.29.2.
By manually downloading, compiling and installing the latest version of pkg-config on ghcr.io/rake-compiler/rake-compiler-dock-image:1.5.0-mri-x86-linux we can compare the difference:
# /usr/bin/pkg-config --version
0.27.1
# time /usr/bin/pkg-config --libs-only-L --static re2.pc
-L/Users/mudge/Projects/re2/ports/arm64-apple-darwin23/abseil/20240116.2/lib -L/Users/mudge/Projects/re2/ports/arm64-apple-darwin23/libre2/2024-06-01/lib
real 3m41.007s
user 3m40.990s
sys 0m0.025s
# /usr/local/bin/pkg-config --version
0.29.2
# time /usr/local/bin/pkg-config --libs-only-L --static re2.pc
-L/Users/mudge/Projects/re2/ports/arm64-apple-darwin23/libre2/2024-06-01/lib -L/Users/mudge/Projects/re2/ports/arm64-apple-darwin23/abseil/20240116.2/lib
real 0m0.101s
user 0m0.083s
sys 0m0.018s
Is there a way for us to provide a newer version of pkg-config in the rake-compiler-dock images to work around this slowdown?
Metadata
Metadata
Assignees
Labels
No labels