Disable debug packages
It's too expensive for our 16GB 4 core systems to handle debug information for this particular package. Until we get higher memory capacity systems we should just keep it disabled. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
2c749702c2
commit
d0480d77fc
@ -17,6 +17,8 @@
|
||||
|
||||
%ifarch riscv64
|
||||
%global _lto_cflags %{nil}
|
||||
# 16GB on 4 core system is not enough to handle debug information.
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
Name: webkitgtk
|
||||
@ -307,6 +309,7 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1456261
|
||||
%global _dwz_max_die_limit_x86_64 250000000
|
||||
%global _dwz_max_die_limit_aarch64 250000000
|
||||
%global _dwz_max_die_limit_riscv64 250000000
|
||||
|
||||
# Require 32 GB of RAM per vCPU for debuginfo processing. 16 GB is not enough.
|
||||
%global _find_debuginfo_opts %limit_build -m 32768
|
||||
@ -314,7 +317,7 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0
|
||||
# Reduce debuginfo verbosity 32-bit builds to reduce memory consumption even more.
|
||||
# https://bugs.webkit.org/show_bug.cgi?id=140176
|
||||
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/I6IVNA52TXTBRQLKW45CJ5K4RA4WNGMI/
|
||||
%ifarch %{ix86}
|
||||
%ifarch %{ix86} riscv64
|
||||
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user