Neal Gompa <[email protected]> writes: > On Sun, Oct 11, 2026 at 1:46 PM Benson Muite <[email protected]> > wrote: >> >> Fabio Valentini <[email protected]> writes: >> >> > On Sat, Sep 5, 2026 at 3:51 PM Zbigniew Jędrzejewski-Szmek >> > <[email protected]> wrote: >> >> >> >> Isn't this something that is rather rare? While packages using clang >> >> or rust _are_ fairly common, how often do they use two compilers? >> > >> > Not at all. The (default) C compiler invoked by the Rust build process >> > (whether to compile C code or to link the final executable) is gcc. >> >> If this is choosen as a default for gcc, one could check for >> multi-compiler builds, or check if Rust or Clang are also being used, >> but having an option that a packager could use to reduce build times and >> memory requirements still seems reasonable even if it is not the default. >> > > We already have a way to limit memory requirements in a build. > > You can use the "%limit_build -m <memorysizemb>" macro. > > We use it in webkitgtk already: > https://src.fedoraproject.org/rpms/webkitgtk/blob/rawhide/f/webkitgtk.spec > >
This results in a slower build time since fewer cores are used. This particular package also fully disables LTO on i686: https://src.fedoraproject.org/rpms/webkitgtk/blob/rawhide/f/webkitgtk.spec#_18 possibly thin LTO would be helpful to use instead to allow for some performance optimizations. > > > -- > 真実はいつも一つ!/ Always, there's only one truth! -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
