try to reduce compile-time memory utilization on armv7hl

epel9
Jens Petersen 5 years ago
parent 4c8e791c5a
commit c7e112910c

@ -227,6 +227,12 @@ This package provides the Haskell %{name} profiling library.
%build %build
# Begin cabal-rpm build: # Begin cabal-rpm build:
%ghc_libs_build %{subpkgs} %ghc_libs_build %{subpkgs}
%ifarch armv7hl
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965121
# [101 of 166] Compiling Text.Pandoc.Writers.LaTeX
# ghc: out of memory (requested 1048576 bytes)
%define cabal_configure_options --ghc-options="-optc--param -optcggc-min-expand=5"
%endif
%ghc_lib_build %ghc_lib_build
# End cabal-rpm build # End cabal-rpm build

Loading…
Cancel
Save