Reduce memory usage and disable JIT
This packages requires a lot of RAM per core. Let's reduce that to minimum. This is required for Unmatched. Disable JIT too: ``` [..] /builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h: In member function ‘void JSC::MacroAssemblerRISCV64::testFinalize(ResultCondition, JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::RegisterID)’: /builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h:4438:16: warning: enumeration value ‘Carry’ not handled in switch [-Wswitch] 4438 | switch (cond) { | ^ In file included from /builddir/build/BUILD/webkitgtk-2.43.4/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-9.cpp:6: /builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/b3/B3Validate.cpp: In member function ‘void JSC::B3::{anonymous}::Validater::run()’: /builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/b3/B3Validate.cpp:457:43: error: ‘toB3Type’ was not declared in this scope 457 | VALIDATE(value->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value)); [..] ``` Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
87b9049af0
commit
060e64c05f
|
@ -286,6 +286,7 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.1
|
|||
# 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
|
||||
|
@ -293,7 +294,7 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.1
|
|||
# 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
|
||||
|
||||
|
@ -324,6 +325,11 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.1
|
|||
%if %{without jpegxl}
|
||||
-DUSE_JPEGXL=OFF \
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
-DENABLE_JIT=OFF \
|
||||
-DENABLE_C_LOOP=ON \
|
||||
-DENABLE_SAMPLING_PROFILER=OFF \
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
%ifarch aarch64
|
||||
-DUSE_64KB_PAGE_BLOCK=ON \
|
||||
|
@ -351,6 +357,11 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.1
|
|||
%if %{without jpegxl}
|
||||
-DUSE_JPEGXL=OFF \
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
-DENABLE_JIT=OFF \
|
||||
-DENABLE_C_LOOP=ON \
|
||||
-DENABLE_SAMPLING_PROFILER=OFF \
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
%ifarch aarch64
|
||||
-DUSE_64KB_PAGE_BLOCK=ON \
|
||||
|
|
Loading…
Reference in New Issue