Re: i686 build OOMing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 20, 2021 at 6:45 PM Leigh Scott <leigh123linux@xxxxxxxxx> wrote:
>
> Is disabling debug on i686 an option?
>
> --- a/vulkan-validation-layers.spec
> +++ b/vulkan-validation-layers.spec
> @@ -43,7 +43,12 @@ developing applications that use %{name}.
>
>  %build
>  # Decrease debuginfo verbosity to reduce memory consumption even more
> +%ifarch %{ix86}
> +%global debug_package %{nil}
> +%global optflags %(echo %{optflags} | sed 's/-g /-g0 /')
> +%else
>  %global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
> +%endif
>  %global optflags %(echo %{optflags} | sed 's/-O2 /-O1 /')
>

I ended up dropping to O1 as sufficient, I don't think it'll really
matter for this package to not be optimised.

But I could consider dropping to g0 on ix86 I suppose.

But it's mostly a debugging package so I think it might not be optimal
to have no symbols for it at all.

Dave.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux