On Wed, Jan 08, 2025 at 12:24:48PM +0000, Stuart Henderson wrote:
> On 2025/01/08 12:55, Theo Buehler wrote:
> > On Wed, Jan 08, 2025 at 12:50:31PM +0100, Theo Buehler wrote:
> > > > Not sure what pkg-config is doing, but it should not take minutes to
> > > > figure out what cflags protobuf needs?
> > >
> > > It's a known issue. The reason is that abseil-cpp ships 100000 libraries
> > > with .pc files and parsing those takes an inordinate amount of time.
> > > Some improvements to the NIH pkg-config were made, but it's still not
> > > good enough. IMO it's just cutting it anymore. Unfortunately, attempts
> >
> > this should have read "It's just not cutting it anymore."
> >
> > > at using devel/pkgconf as a drop-in replacement failed so far (lang/rust
> > > doesn't build with it for one thing).
> > >
> >
>
> pkgconf isn't the answer, tines when running --cflags protobuf:
>
> /usr/local/bin/pkg-config: 0.03s
>
> /usr/bin/pkg-config: 10s
>
> pkgconf: no idea, I am bored of waiting -
> load: 1.17 cmd: pkgconf 64002 [running] 800.49u 1.34s 99% 10218k
>
Then something changed. It was more than twice as fast than our
pkg-config last time I tested it seriously.
No comments:
Post a Comment