use llvm for aarch64 and fix build.mk BuildFlavour setup
This commit is contained in:
parent
b42ca29adc
commit
25a760a22f
15
ghc.spec
15
ghc.spec
@ -123,6 +123,9 @@ BuildRequires: python
|
|||||||
%ifarch armv7hl armv5tel
|
%ifarch armv7hl armv5tel
|
||||||
BuildRequires: llvm34
|
BuildRequires: llvm34
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
BuildRequires: llvm
|
||||||
|
%endif
|
||||||
%ifarch armv7hl aarch64
|
%ifarch armv7hl aarch64
|
||||||
# patch22 and patch24
|
# patch22 and patch24
|
||||||
BuildRequires: autoconf, automake
|
BuildRequires: autoconf, automake
|
||||||
@ -292,13 +295,13 @@ fi
|
|||||||
# cf https://github.com/gentoo-haskell/gentoo-haskell/tree/master/dev-lang/ghc
|
# cf https://github.com/gentoo-haskell/gentoo-haskell/tree/master/dev-lang/ghc
|
||||||
cat > mk/build.mk << EOF
|
cat > mk/build.mk << EOF
|
||||||
%if %{undefined ghc_bootstrapping}
|
%if %{undefined ghc_bootstrapping}
|
||||||
%ifnarch armv7hl armv5tel
|
%ifarch armv7hl armv5tel aarch64
|
||||||
BuildFlavour = perf
|
|
||||||
%else
|
|
||||||
BuildFlavour = perf-llvm
|
BuildFlavour = perf-llvm
|
||||||
|
%else
|
||||||
|
BuildFlavour = perf
|
||||||
%endif
|
%endif
|
||||||
%else
|
%else
|
||||||
%ifnarch armv7hl armv5tel
|
%ifarch armv7hl armv5tel aarch64
|
||||||
BuildFlavour = quick-llvm
|
BuildFlavour = quick-llvm
|
||||||
%else
|
%else
|
||||||
BuildFlavour = quick
|
BuildFlavour = quick
|
||||||
@ -553,6 +556,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 1 2015 Jens Petersen <petersen@fedoraproject.org>
|
||||||
|
- use llvm for aarch64
|
||||||
|
- fix build.mk BuildFlavour setup
|
||||||
|
|
||||||
* Sat Feb 14 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-42
|
* Sat Feb 14 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-42
|
||||||
- try "make -j16" on Intel arches to keep ABI hashes same as -40
|
- try "make -j16" on Intel arches to keep ABI hashes same as -40
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user