Hi -

> [...]
> I was able to build gdal 3.10 in a little under an hour with `fedpkg
> mockbuild` on the F42 buildroot. It was spending hours on
> single-threaded `ar` calls. Is there any possibility of parallelizing
> that?
> [...]

See also rhbz2389629.  The problem in both cases is that both these
builds have .a files with tens of thousands (!) of small .o files,
which indeed are processed serially.  Parallelizing them a little bit
may be possible, but /bin/sh makes that a pain.  For now, as mjw
suggests, consider disabling the new functionality with:

%undefine _preserve_static_debuginfo

- FChE

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to