drop -O2 for ghc-7.8
it uses too much build mem eg - highlighting-kate OOM with 4GB ram - happy needs > 3GB
This commit is contained in:
parent
8479b07853
commit
19ad5a530b
@ -6,7 +6,7 @@
|
|||||||
#%%global without_hscolour 1
|
#%%global without_hscolour 1
|
||||||
|
|
||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 1.3.3
|
Version: 1.3.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: RPM macros for building packages for GHC
|
Summary: RPM macros for building packages for GHC
|
||||||
|
|
||||||
@ -93,6 +93,9 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 28 2014 Jens Petersen <petersen@redhat.com> - 1.3.4-1
|
||||||
|
- drop -O2 for ghc-7.8: it uses too much build mem
|
||||||
|
|
||||||
* Fri Aug 22 2014 Jens Petersen <petersen@redhat.com> - 1.3.3-1
|
* Fri Aug 22 2014 Jens Petersen <petersen@redhat.com> - 1.3.3-1
|
||||||
- temporarily revert to ghc-7.6 config for shared libs
|
- temporarily revert to ghc-7.6 config for shared libs
|
||||||
until we move to ghc-7.8
|
until we move to ghc-7.8
|
||||||
|
@ -21,7 +21,7 @@ fi
|
|||||||
# configure
|
# configure
|
||||||
%cabal_configure\
|
%cabal_configure\
|
||||||
%ghc_check_bootstrap\
|
%ghc_check_bootstrap\
|
||||||
%cabal configure --prefix=%{_prefix} --libdir=%{_libdir} --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} --libsubdir='$compiler/$pkgid' --datasubdir='$pkgid' --ghc %{!?ghc_without_dynamic:--enable-executable-dynamic} --ghc-option=-O2 %{?with_tests:--enable-tests} %{?cabal_configure_options} $cabal_configure_extra_options
|
%cabal configure --prefix=%{_prefix} --libdir=%{_libdir} --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} --libsubdir='$compiler/$pkgid' --datasubdir='$pkgid' --ghc %{!?ghc_without_dynamic:--enable-executable-dynamic} %{?with_tests:--enable-tests} %{?cabal_configure_options} $cabal_configure_extra_options
|
||||||
|
|
||||||
# install
|
# install
|
||||||
%cabal_install %cabal copy --destdir=%{buildroot} -v
|
%cabal_install %cabal copy --destdir=%{buildroot} -v
|
||||||
|
Loading…
Reference in New Issue
Block a user