fedora-copr / copr

RPM build system - upstream for https://copr.fedorainfracloud.org/
113 stars 61 forks source link

Please enable high-performance builders for some of the @kernel-vanilla coprs – or all if appropriate #3512

Open knurd opened 1 week ago

knurd commented 1 week ago

Please enable high-performance builders for the @kernel-vanilla coprs packages shipping stable(|-rc) kernels for Fedora Linux releases. The RE should look like this afaics[1]:

@kernel-vanilla/(fedora|fedora-rc|stable|stable-rc)/.*(x86_64|aarch64)/.*-releases

This is in preparation for next week, as the stable and stable-rc repos than will start shipping -rt kernel packages (fedora and fedora-rc will follow three week later), which will double the build time. This can already be seen in my mainline builds, which take 3 to 6 hours on arm64 and x86_64 since I enabled -rt subpackages there. To see, compare these two: https://copr.fedorainfracloud.org/coprs/g/kernel-vanilla/mainline-wo-mergew/build/8204411/ https://copr.fedorainfracloud.org/coprs/g/kernel-vanilla/mainline-wo-mergew/build/8211067/

For the daily mainline and rawhide builds a quicker build time would be nice to have, too, but is not that crucial -- but if you think they are worth high-performance builders as well I'd be happy to get them.

But for stable and stable-rc kernels targeting Fedora Linux release it afaics would be worth reducing the time to build.

[1] side note: I think the example at the end of https://docs.pagure.org/copr.copr/user_documentation/powerful_builders.html#high-performance-builders needs a 's!kernel/.(x86_64!kernel/.*(x86_64!' (example does not escape special characters for readability).