Re: i686 build OOMing

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

 



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 /')
 
 %cmake3 -DCMAKE_BUILD_TYPE=Release \
_______________________________________________
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