pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ghc Update ghc to version 6.8.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c88c3207bf0
branches:  trunk
changeset: 539946:8c88c3207bf0
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Mon Mar 17 15:33:10 2008 +0000

description:
Update ghc to version 6.8.2.

The major changes in this release are adding Haskell Program Coverage (hpc)
support to the compiler, adding a debugger to GHCi, the first phase of the
base package split, and pointer tagging in the code generator (which should
mean most code improves by 10-15%, and as a result the compiler is also
faster).

Most of this upgrade was done by Paulo Matias in pkgsrc-wip.

diffstat:

 lang/ghc/Makefile         |    15 +-
 lang/ghc/PLIST            |  2194 +++++++++++++++++++++++++-------------------
 lang/ghc/distinfo         |    19 +-
 lang/ghc/patches/patch-ac |     8 +-
 lang/ghc/patches/patch-ad |    20 +-
 lang/ghc/patches/patch-aj |    15 +
 6 files changed, 1280 insertions(+), 991 deletions(-)

diffs (truncated from 2498 to 300 lines):

diff -r afaf666daa36 -r 8c88c3207bf0 lang/ghc/Makefile
--- a/lang/ghc/Makefile Mon Mar 17 13:32:54 2008 +0000
+++ b/lang/ghc/Makefile Mon Mar 17 15:33:10 2008 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.38 2007/08/18 23:39:26 rillig Exp $
+# $NetBSD: Makefile,v 1.39 2008/03/17 15:33:10 kristerw Exp $
 
-DISTNAME=      ghc-6.6.1
+DISTNAME=      ghc-6.8.2
 CATEGORIES=    lang
-MASTER_SITES=  http://www.haskell.org/ghc/dist/6.6.1/
-DISTFILES=     ghc-6.6.1-src.tar.bz2 \
-               ghc-6.6.1-src-extralibs.tar.bz2 \
+MASTER_SITES=  http://www.haskell.org/ghc/dist/6.8.2/
+DISTFILES=     ghc-6.8.2-src.tar.bz2 \
+               ghc-6.8.2-src-extralibs.tar.bz2 \
                ghc-6.4.2-src.tar.bz2 \
                ghc-6.4.2-i386-unknown-netbsd-hc.tar.gz
 
@@ -30,11 +30,12 @@
 
 SUBST_CLASSES+=                prefix
 SUBST_STAGE.prefix=    post-patch
-SUBST_FILES.prefix=    libraries/readline/package.conf.in
-SUBST_FILES.prefix+=   rts/package.conf.in
 SUBST_FILES.prefix+=   ../ghc-6.4.2/mk/bootstrap.mk
 SUBST_FILES.prefix+=   ../ghc-6.4.2/ghc/rts/package.conf.in
 SUBST_FILES.prefix+=   ../ghc-6.4.2/libraries/readline/package.conf.in
+SUBST_FILES.prefix+=   libraries/readline/configure
+SUBST_FILES.prefix+=   libraries/readline/readline.cabal
+SUBST_FILES.prefix+=   rts/package.conf.in
 SUBST_SED.prefix=      -e 's,@PREFIX@,${PREFIX},g'
 
 pre-configure:
diff -r afaf666daa36 -r 8c88c3207bf0 lang/ghc/PLIST
--- a/lang/ghc/PLIST    Mon Mar 17 13:32:54 2008 +0000
+++ b/lang/ghc/PLIST    Mon Mar 17 15:33:10 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2007/04/29 22:12:02 kristerw Exp $
+@comment $NetBSD: PLIST,v 1.9 2008/03/17 15:33:10 kristerw Exp $
 bin/ghc
 bin/${PKGNAME}
 bin/ghc-pkg
@@ -8,36 +8,16 @@
 bin/ghcprof
 bin/hasktags
 bin/hp2ps
+bin/hpc
 bin/hsc2hs
+bin/hsc2hs-ghc
+bin/hsc2hs-${PKGNAME}
 bin/runghc
 bin/runhaskell
-lib/${PKGNAME}/HSCabal.o
-lib/${PKGNAME}/HSHUnit.o
-lib/${PKGNAME}/HSQuickCheck.o
-lib/${PKGNAME}/HSbase.o
-lib/${PKGNAME}/HSbase_cbits.o
-lib/${PKGNAME}/HScgi.o
-lib/${PKGNAME}/HSfgl.o
-lib/${PKGNAME}/HSfilepath.o
 lib/${PKGNAME}/HSghc.o
-lib/${PKGNAME}/HShaskell-src.o
-lib/${PKGNAME}/HShaskell98.o
-lib/${PKGNAME}/HShtml.o
-lib/${PKGNAME}/HSmtl.o
-lib/${PKGNAME}/HSnetwork.o
-lib/${PKGNAME}/HSparsec.o
-lib/${PKGNAME}/HSreadline.o
-lib/${PKGNAME}/HSregex-base.o
-lib/${PKGNAME}/HSregex-compat.o
-lib/${PKGNAME}/HSregex-posix.o
 lib/${PKGNAME}/HSrts.o
-lib/${PKGNAME}/HSstm.o
-lib/${PKGNAME}/HStemplate-haskell.o
-lib/${PKGNAME}/HStime.o
-lib/${PKGNAME}/HSunix.o
-lib/${PKGNAME}/HSunix_cbits.o
-lib/${PKGNAME}/HSxhtml.o
 lib/${PKGNAME}/cgprof
+lib/${PKGNAME}/extra-gcc-opts
 lib/${PKGNAME}/${PKGNAME}
 lib/${PKGNAME}/ghc-asm
 lib/${PKGNAME}/ghc-pkg.bin
@@ -50,8 +30,8 @@
 lib/${PKGNAME}/hslibs-imports/ghc/BasicTypes.hi
 lib/${PKGNAME}/hslibs-imports/ghc/BinIface.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Binary.hi
-lib/${PKGNAME}/hslibs-imports/ghc/BitSet.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Bitmap.hi
+lib/${PKGNAME}/hslibs-imports/ghc/BreakArray.hi
 lib/${PKGNAME}/hslibs-imports/ghc/BufWrite.hi
 lib/${PKGNAME}/hslibs-imports/ghc/BuildTyCl.hi
 lib/${PKGNAME}/hslibs-imports/ghc/ByteCodeAsm.hi
@@ -70,6 +50,7 @@
 lib/${PKGNAME}/hslibs-imports/ghc/CgExpr.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CgForeignCall.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CgHeapery.hi
+lib/${PKGNAME}/hslibs-imports/ghc/CgHpc.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CgInfoTbls.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CgLetNoEscape.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CgMonad.hi
@@ -85,13 +66,21 @@
 lib/${PKGNAME}/hslibs-imports/ghc/ClosureInfo.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CmdLineParser.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Cmm.hi
+lib/${PKGNAME}/hslibs-imports/ghc/CmmBrokenBlock.hi
+lib/${PKGNAME}/hslibs-imports/ghc/CmmCPS.hi
+lib/${PKGNAME}/hslibs-imports/ghc/CmmCPSGen.hi
+lib/${PKGNAME}/hslibs-imports/ghc/CmmCallConv.hi
+lib/${PKGNAME}/hslibs-imports/ghc/CmmInfo.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CmmLex.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CmmLint.hi
+lib/${PKGNAME}/hslibs-imports/ghc/CmmLive.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CmmOpt.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CmmParse.hi
+lib/${PKGNAME}/hslibs-imports/ghc/CmmProcPoint.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CmmUtils.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CodeGen.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CodeOutput.hi
+lib/${PKGNAME}/hslibs-imports/ghc/Coercion.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Config.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Constants.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Convert.hi
@@ -105,9 +94,12 @@
 lib/${PKGNAME}/hslibs-imports/ghc/CoreUnfold.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CoreUtils.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CostCentre.hi
+lib/${PKGNAME}/hslibs-imports/ghc/Coverage.hi
 lib/${PKGNAME}/hslibs-imports/ghc/CprAnalyse.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Ctype.hi
 lib/${PKGNAME}/hslibs-imports/ghc/DataCon.hi
+lib/${PKGNAME}/hslibs-imports/ghc/Dataflow.hi
+lib/${PKGNAME}/hslibs-imports/ghc/Debugger.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Demand.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Desugar.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Digraph.hi
@@ -129,6 +121,8 @@
 lib/${PKGNAME}/hslibs-imports/ghc/Encoding.hi
 lib/${PKGNAME}/hslibs-imports/ghc/ErrUtils.hi
 lib/${PKGNAME}/hslibs-imports/ghc/ExternalCore.hi
+lib/${PKGNAME}/hslibs-imports/ghc/FamInst.hi
+lib/${PKGNAME}/hslibs-imports/ghc/FamInstEnv.hi
 lib/${PKGNAME}/hslibs-imports/ghc/FastMutInt.hi
 lib/${PKGNAME}/hslibs-imports/ghc/FastString.hi
 lib/${PKGNAME}/hslibs-imports/ghc/FastTypes.hi
@@ -143,9 +137,19 @@
 lib/${PKGNAME}/hslibs-imports/ghc/FunDeps.hi
 lib/${PKGNAME}/hslibs-imports/ghc/GHC.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Generics.hi
+lib/${PKGNAME}/hslibs-imports/ghc/GhciMonad.hi
+lib/${PKGNAME}/hslibs-imports/ghc/GhciTags.hi
+lib/${PKGNAME}/hslibs-imports/ghc/GraphBase.hi
+lib/${PKGNAME}/hslibs-imports/ghc/GraphColor.hi
+lib/${PKGNAME}/hslibs-imports/ghc/GraphOps.hi
+lib/${PKGNAME}/hslibs-imports/ghc/GraphPpr.hi
+lib/${PKGNAME}/hslibs-imports/ghc/HaddockLex.hi
+lib/${PKGNAME}/hslibs-imports/ghc/HaddockParse.hi
+lib/${PKGNAME}/hslibs-imports/ghc/HaddockUtils.hi
 lib/${PKGNAME}/hslibs-imports/ghc/HeaderInfo.hi
 lib/${PKGNAME}/hslibs-imports/ghc/HsBinds.hi
 lib/${PKGNAME}/hslibs-imports/ghc/HsDecls.hi
+lib/${PKGNAME}/hslibs-imports/ghc/HsDoc.hi
 lib/${PKGNAME}/hslibs-imports/ghc/HsExpr.hi
 lib/${PKGNAME}/hslibs-imports/ghc/HsImpExp.hi
 lib/${PKGNAME}/hslibs-imports/ghc/HsLit.hi
@@ -164,8 +168,8 @@
 lib/${PKGNAME}/hslibs-imports/ghc/IfaceType.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Inst.hi
 lib/${PKGNAME}/hslibs-imports/ghc/InstEnv.hi
+lib/${PKGNAME}/hslibs-imports/ghc/InteractiveEval.hi
 lib/${PKGNAME}/hslibs-imports/ghc/InteractiveUI.hi
-lib/${PKGNAME}/hslibs-imports/ghc/Kind.hi
 lib/${PKGNAME}/hslibs-imports/ghc/LexCore.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Lexer.hi
 lib/${PKGNAME}/hslibs-imports/ghc/LiberateCase.hi
@@ -219,15 +223,26 @@
 lib/${PKGNAME}/hslibs-imports/ghc/PrimOp.hi
 lib/${PKGNAME}/hslibs-imports/ghc/RdrHsSyn.hi
 lib/${PKGNAME}/hslibs-imports/ghc/RdrName.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RegAllocColor.hi
 lib/${PKGNAME}/hslibs-imports/ghc/RegAllocInfo.hi
-lib/${PKGNAME}/hslibs-imports/ghc/RegisterAlloc.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RegAllocLinear.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RegAllocStats.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RegArchBase.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RegArchX86.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RegCoalesce.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RegLiveness.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RegSpill.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RegSpillClean.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RegSpillCost.hi
 lib/${PKGNAME}/hslibs-imports/ghc/RnBinds.hi
 lib/${PKGNAME}/hslibs-imports/ghc/RnEnv.hi
 lib/${PKGNAME}/hslibs-imports/ghc/RnExpr.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RnHsDoc.hi
 lib/${PKGNAME}/hslibs-imports/ghc/RnHsSyn.hi
 lib/${PKGNAME}/hslibs-imports/ghc/RnNames.hi
 lib/${PKGNAME}/hslibs-imports/ghc/RnSource.hi
 lib/${PKGNAME}/hslibs-imports/ghc/RnTypes.hi
+lib/${PKGNAME}/hslibs-imports/ghc/RtClosureInspect.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Rules.hi
 lib/${PKGNAME}/hslibs-imports/ghc/SAT.hi
 lib/${PKGNAME}/hslibs-imports/ghc/SATMonad.hi
@@ -246,6 +261,7 @@
 lib/${PKGNAME}/hslibs-imports/ghc/SpecConstr.hi
 lib/${PKGNAME}/hslibs-imports/ghc/Specialise.hi
 lib/${PKGNAME}/hslibs-imports/ghc/SrcLoc.hi
+lib/${PKGNAME}/hslibs-imports/ghc/State.hi
 lib/${PKGNAME}/hslibs-imports/ghc/StaticFlags.hi
 lib/${PKGNAME}/hslibs-imports/ghc/StgLint.hi
 lib/${PKGNAME}/hslibs-imports/ghc/StgStats.hi
@@ -261,6 +277,7 @@
 lib/${PKGNAME}/hslibs-imports/ghc/TcEnv.hi
 lib/${PKGNAME}/hslibs-imports/ghc/TcExpr.hi
 lib/${PKGNAME}/hslibs-imports/ghc/TcForeign.hi
+lib/${PKGNAME}/hslibs-imports/ghc/TcGadt.hi
 lib/${PKGNAME}/hslibs-imports/ghc/TcGenDeriv.hi
 lib/${PKGNAME}/hslibs-imports/ghc/TcHsSyn.hi
 lib/${PKGNAME}/hslibs-imports/ghc/TcHsType.hi
@@ -277,6 +294,7 @@
 lib/${PKGNAME}/hslibs-imports/ghc/TcSplice.hi
 lib/${PKGNAME}/hslibs-imports/ghc/TcTyClsDecls.hi
 lib/${PKGNAME}/hslibs-imports/ghc/TcTyDecls.hi
+lib/${PKGNAME}/hslibs-imports/ghc/TcTyFuns.hi
 lib/${PKGNAME}/hslibs-imports/ghc/TcType.hi
 lib/${PKGNAME}/hslibs-imports/ghc/TcUnify.hi
 lib/${PKGNAME}/hslibs-imports/ghc/TidyPgm.hi
@@ -294,6 +312,12 @@
 lib/${PKGNAME}/hslibs-imports/ghc/Var.hi
 lib/${PKGNAME}/hslibs-imports/ghc/VarEnv.hi
 lib/${PKGNAME}/hslibs-imports/ghc/VarSet.hi
+lib/${PKGNAME}/hslibs-imports/ghc/VectBuiltIn.hi
+lib/${PKGNAME}/hslibs-imports/ghc/VectCore.hi
+lib/${PKGNAME}/hslibs-imports/ghc/VectMonad.hi
+lib/${PKGNAME}/hslibs-imports/ghc/VectType.hi
+lib/${PKGNAME}/hslibs-imports/ghc/VectUtils.hi
+lib/${PKGNAME}/hslibs-imports/ghc/Vectorise.hi
 lib/${PKGNAME}/hslibs-imports/ghc/WorkWrap.hi
 lib/${PKGNAME}/hslibs-imports/ghc/WwLib.hi
 lib/${PKGNAME}/icons/absdelta.xbm
@@ -319,799 +343,8 @@
 lib/${PKGNAME}/icons/undo.xbm
 lib/${PKGNAME}/icons/wait.xbm
 lib/${PKGNAME}/icons/weightdelta.xbm
-lib/${PKGNAME}/imports/Array.hi
-lib/${PKGNAME}/imports/Array.p_hi
-lib/${PKGNAME}/imports/Bits.hi
-lib/${PKGNAME}/imports/Bits.p_hi
-lib/${PKGNAME}/imports/CError.hi
-lib/${PKGNAME}/imports/CError.p_hi
-lib/${PKGNAME}/imports/CForeign.hi
-lib/${PKGNAME}/imports/CForeign.p_hi
-lib/${PKGNAME}/imports/CPUTime.hi
-lib/${PKGNAME}/imports/CPUTime.p_hi
-lib/${PKGNAME}/imports/CString.hi
-lib/${PKGNAME}/imports/CString.p_hi
-lib/${PKGNAME}/imports/CTypes.hi
-lib/${PKGNAME}/imports/CTypes.p_hi
-lib/${PKGNAME}/imports/Char.hi
-lib/${PKGNAME}/imports/Char.p_hi
-lib/${PKGNAME}/imports/Complex.hi
-lib/${PKGNAME}/imports/Complex.p_hi
-lib/${PKGNAME}/imports/Control/Applicative.hi
-lib/${PKGNAME}/imports/Control/Applicative.p_hi
-lib/${PKGNAME}/imports/Control/Arrow.hi
-lib/${PKGNAME}/imports/Control/Arrow.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent.hi
-lib/${PKGNAME}/imports/Control/Concurrent.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent/Chan.hi
-lib/${PKGNAME}/imports/Control/Concurrent/Chan.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent/MVar.hi
-lib/${PKGNAME}/imports/Control/Concurrent/MVar.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent/QSem.hi
-lib/${PKGNAME}/imports/Control/Concurrent/QSem.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent/QSemN.hi
-lib/${PKGNAME}/imports/Control/Concurrent/QSemN.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent/STM.hi
-lib/${PKGNAME}/imports/Control/Concurrent/STM.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent/STM/TArray.hi
-lib/${PKGNAME}/imports/Control/Concurrent/STM/TArray.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent/STM/TChan.hi
-lib/${PKGNAME}/imports/Control/Concurrent/STM/TChan.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent/STM/TMVar.hi
-lib/${PKGNAME}/imports/Control/Concurrent/STM/TMVar.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent/STM/TVar.hi
-lib/${PKGNAME}/imports/Control/Concurrent/STM/TVar.p_hi
-lib/${PKGNAME}/imports/Control/Concurrent/SampleVar.hi
-lib/${PKGNAME}/imports/Control/Concurrent/SampleVar.p_hi
-lib/${PKGNAME}/imports/Control/Exception.hi
-lib/${PKGNAME}/imports/Control/Exception.p_hi
-lib/${PKGNAME}/imports/Control/Monad.hi
-lib/${PKGNAME}/imports/Control/Monad.p_hi
-lib/${PKGNAME}/imports/Control/Monad/Cont.hi
-lib/${PKGNAME}/imports/Control/Monad/Cont.p_hi
-lib/${PKGNAME}/imports/Control/Monad/Cont/Class.hi
-lib/${PKGNAME}/imports/Control/Monad/Cont/Class.p_hi
-lib/${PKGNAME}/imports/Control/Monad/Error.hi
-lib/${PKGNAME}/imports/Control/Monad/Error.p_hi
-lib/${PKGNAME}/imports/Control/Monad/Error/Class.hi



Home | Main Index | Thread Index | Old Index