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:
parent
127379750b
commit
8cf1dc00d2
@ -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
|
||||||
|
|
||||||
|
4
ghc.spec
4
ghc.spec
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user