mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/ghc to 7.8.4-1
This commit is contained in:
parent
23aae49f3c
commit
c20d6625d2
1 changed files with 22 additions and 19 deletions
|
@ -21,19 +21,22 @@
|
|||
noautobuild=1
|
||||
|
||||
pkgname=ghc
|
||||
pkgver=7.8.3
|
||||
pkgrel=2
|
||||
pkgver=7.8.4
|
||||
pkgrel=1
|
||||
pkgdesc='The Glasgow Haskell Compiler'
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.haskell.org/ghc/'
|
||||
license=('custom')
|
||||
depends=('perl' 'gmp' 'gcc' 'libffi' 'llvm')
|
||||
makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
|
||||
# will hopefully be able to depend on python 3 in a future version
|
||||
# https://ghc.haskell.org/trac/ghc/ticket/9184
|
||||
# title: Allow the use of Python 3 when building GHC
|
||||
checkdepends=('python2')
|
||||
install='ghc.install'
|
||||
options=('staticlibs')
|
||||
provides=('haskell-array=0.5.0.0'
|
||||
'haskell-base=4.7.0.1'
|
||||
'haskell-base=4.7.0.2'
|
||||
'haskell-binary=0.7.1.0'
|
||||
'haskell-bin-package-db=0.0.0.0'
|
||||
'haskell-bytestring=0.10.4.0'
|
||||
|
@ -42,6 +45,7 @@ provides=('haskell-array=0.5.0.0'
|
|||
'haskell-directory=1.2.1.0'
|
||||
'haskell-filepath=1.3.0.2'
|
||||
'haskell-ghc-prim=0.3.1.0'
|
||||
'haskell-haskeline=0.7.1.2'
|
||||
'haskell-haskell2010=1.1.2.0'
|
||||
'haskell-haskell98=2.0.0.3'
|
||||
'haskell-hoopl=3.10.0.1'
|
||||
|
@ -52,14 +56,12 @@ provides=('haskell-array=0.5.0.0'
|
|||
'haskell-pretty=1.1.1.1'
|
||||
'haskell-process=1.2.0.0'
|
||||
'haskell-template-haskell=2.9.0.0'
|
||||
'haskell-terminfo=0.4.0.0'
|
||||
'haskell-time=1.4.2'
|
||||
'haskell-transformers=0.3.0.0'
|
||||
'haskell-unix=2.7.0.1'
|
||||
'haskell-cabal=1.18.1.3'
|
||||
'ghc=7.8.3-1'
|
||||
'haskell-haskeline=0.7.1.2'
|
||||
'haskell-terminfo=0.4.0.0'
|
||||
'haskell-xhtml=3000.2.1'
|
||||
'haskell-cabal=1.18.1.5'
|
||||
)
|
||||
replaces=('haskell-array'
|
||||
'haskell-base'
|
||||
|
@ -71,6 +73,7 @@ replaces=('haskell-array'
|
|||
'haskell-directory'
|
||||
'haskell-filepath'
|
||||
'haskell-ghc-prim'
|
||||
'haskell-haskeline'
|
||||
'haskell-haskell2010'
|
||||
'haskell-haskell98'
|
||||
'haskell-hoopl'
|
||||
|
@ -81,13 +84,12 @@ replaces=('haskell-array'
|
|||
'haskell-pretty'
|
||||
'haskell-process'
|
||||
'haskell-template-haskell'
|
||||
'haskell-terminfo'
|
||||
'haskell-time'
|
||||
'haskell-transformers'
|
||||
'haskell-unix'
|
||||
'haskell-cabal'
|
||||
'haskell-haskeline'
|
||||
'haskell-terminfo'
|
||||
'haskell-xhtml'
|
||||
'haskell-cabal'
|
||||
)
|
||||
source=("http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz"
|
||||
"http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz"
|
||||
|
@ -95,8 +97,8 @@ source=("http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz"
|
|||
'ghc'
|
||||
'add-vfp-flags.patch'
|
||||
'ghc-7.8.1-mk-config.mk.in-ARM-dynlinking.patch')
|
||||
md5sums=('5e34b2a29564596c9ed83fb8667b47d4'
|
||||
'7ca72a039d44ca2586c02863392b5dce'
|
||||
md5sums=('91f74cf9d813603cc3145528db4bbead'
|
||||
'3cc3353d99518be7e7b2d78ebd5460b5'
|
||||
'b622685c767d0b054c92d1432708d516'
|
||||
'c1d46d86752c50dd85e7143b029fa07f'
|
||||
'1eb0ed10fa9676c2e23a587c40166e0e'
|
||||
|
@ -117,7 +119,7 @@ build() {
|
|||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-system-libffi \
|
||||
--with-ffi-includes=/usr/lib/libffi-3.1/include
|
||||
--with-ffi-includes=/usr/lib/libffi-3.2.1/include
|
||||
|
||||
make
|
||||
}
|
||||
|
@ -131,12 +133,13 @@ check() {
|
|||
# python2 rename
|
||||
sed -e 's_#!/usr/bin/env python_&2_' -i testsuite/timeout/calibrate testsuite/timeout/timeout.py
|
||||
|
||||
# upstream known failures on both i686 and x86_64:
|
||||
# ghci.debugger/scripts break011 [bad stderr] (ghci)
|
||||
# perf/compiler parsing001 [stat not good enough] (normal)
|
||||
# simplCore/should_compile spec-inline [stderr mismatch] (optasm)
|
||||
# upstream known failures on i686 only:
|
||||
# numrun012 test fails on i686 works on x86_64 - http://hackage.haskell.org/trac/ghc/ticket/5856
|
||||
# Unexpected failures:
|
||||
# codeGen/should_run T8256 [exit code non-0] (normal)
|
||||
# concurrent/should_run T9379 [exit code non-0] (normal)
|
||||
# perf/compiler T3064 [stat not good enough] (normal)
|
||||
# perf/compiler T4801 [stat not good enough] (normal)
|
||||
# perf/compiler T6048 [stat not good enough] (optasm)
|
||||
# roles/should_compile T8958 [stderr mismatch] (normal)
|
||||
make test
|
||||
|
||||
# enabling threads to speed up
|
||||
|
|
Loading…
Reference in a new issue