Accepting request 360032 from home:ptrommler

fix aarch64 build

OBS-URL: https://build.opensuse.org/request/show/360032
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=213
This commit is contained in:
Peter Trommler 2016-02-17 21:12:25 +00:00 committed by Git OBS Bridge
parent 127379750b
commit 8cf1dc00d2
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 17 09:09:17 UTC 2016 - peter.trommler@ohm-hochschule.de
- limit parallel jobs to two on aarch64
* aarch64 runs out of memory with too many parallel compiles
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 14 13:55:46 UTC 2016 - peter.trommler@ohm-hochschule.de Sun Feb 14 13:55:46 UTC 2016 - peter.trommler@ohm-hochschule.de

View File

@ -210,7 +210,7 @@ BUILD_DOCBOOK_HTML = NO
HSCOLOUR_SRCS = NO HSCOLOUR_SRCS = NO
EOF EOF
./configure --prefix=%{_builddir}/ghc-boot --with-system-libffi ./configure --prefix=%{_builddir}/ghc-boot --with-system-libffi
%ifnarch s390 s390x %ifnarch aarch64 s390 s390x
make %{?_smp_mflags} make %{?_smp_mflags}
%else %else
make -j 2 make -j 2
@ -265,7 +265,7 @@ export CFLAGS="${CFLAGS:-%optflags}"
%{?ghc_boot:--with-ghc=%{_builddir}/ghc-boot/bin/ghc} \ %{?ghc_boot:--with-ghc=%{_builddir}/ghc-boot/bin/ghc} \
--with-system-libffi --with-system-libffi
%ifnarch s390 s390x %ifnarch aarch64 s390 s390x
make %{?_smp_mflags} make %{?_smp_mflags}
%else %else
make -j 2 make -j 2