Commit Graph

46 Commits

Author SHA1 Message Date
kili
7d63ac0258 Update to ghc-6.12.3 (bugfix release), plus some minor changes:
- Use integer-gmp again.

- Cleanout the extracted bootstrap directory right after installing it
  to save some disk space.

- Use ${MAKE_ENV} instead ${MODGHC_SETUP_CONF_ENV} in ghc.port.mk (in
  do-configure, use both).

- Don't compile Setup.l?hs, just use the interpreter (runghc) in
  ghc.port.mk. This speeds up the build of most ports depending on
  ghc and using a cabal-style build.

Necessary bumps and WANTLIB changes in ports using ghc will follow
later this evening.
2010-06-15 15:34:03 +00:00
sthen
6593bbb601 Add gmp as a BUILD_DEPENDS, ghc-pwd in the bootstrap requires it.
Fix a typo while there. Discussed with and ok kili@
2010-06-09 10:06:29 +00:00
kili
90c09cd38d Update distinfo. Reminded by naddy. 2010-06-08 11:17:09 +00:00
kili
41b71845e5 New libc major => new bootstrapping binaries.
Since the new bootstrapper has a new name (ghc-6.12.2.20100530),
the ABI of some libraries included in GHC will change, possibly
breaking all other libraries, so expect some additional bumps soon.

Yes, this *is* ridiculous. If you want to live in peace, don't use
GHC.
2010-06-06 09:54:20 +00:00
kili
bb2f61a7e2 Oops! Forgot to bump pkgname. 2010-05-19 15:04:27 +00:00
kili
ca40125cf1 Let Cabal-generated register.sh and unregister.sh scripts pass
paraemters to ghc-pkg. Remove the (now obsolete) patch for Register.hs.

Ports that build ghc libraries should now use the following
@exec/@unexec magic (('ve already diffs for all the hs-* ports in
my tree):

lib/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/register.sh -v0
@unexec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/unregister.sh -v0 --force
lib/${DISTNAME}/unregister.sh
2010-05-19 14:23:15 +00:00
kili
d409d7b95e Zap __eprintf reference from Linker.c to fix the build with gcc4
(found by espie@).

Thanks to sthen@ for creating the i386 bootstrapping tarball.
2010-05-16 13:51:26 +00:00
kili
d124326763 Change ghc.port.mk to allow addition of flags to MODGHC_SETUP_PROG by
just setting MODGHC_SETUP_CONF_ARGS (which is now empty by default).

Add dblatex-created documentation.

While here, use our INSTALL* macros where possible to get correct
permissions (noticed by dcoppa@). This does *not* fix the permissions
of libraries and interface files installed by Cabal-based tools,
because the permissions are hard-coded in Cabal, and I'm not going
to touch and fix Cabal ever, because IMHO it's completely broken
by design. (If you want to read some of this madness, have a look
at libraries/Cabal/Distribution/Compat/CopyFile.hs or even
libraries/Cabal/Distribution/Simple/Install.hs)

Expect some breakage of depending ports (at least of devel/darcs) and
some necessary WANTLIB changes, which will be fixed soonish.
2010-05-06 20:00:19 +00:00
kili
3830131a60 Remove the native_bootstrap pseudo flavor. It's dangerous, because
the APIs of GHCs libraries depend on the version of the bootstrapping
compiler (and probably on the output of pom(6) and the amount of
active vulcanos in iceland).

See http://hackage.haskell.org/trac/ghc/ticket/4012#comment:3 for
details.

THIS ALSO MEANS THAT IF YOUR BUILD FAILS, YOU WILL HAVE TO MAKE
CLEAN AND START FROM SCRATCH! NEVER EVER TRY TO RESTART THE BUILD
OR THE LIBRARY ABIS WILL CHANGE! (Sorry for yelling)

Bump PKGNAME-main, since people may already have built ghc with
native_bootstrap.
2010-04-25 13:40:30 +00:00
kili
a2d22041b4 Update to 6.12.2.
Many thanks to Darrin Chandler and dcoppa@ for testing, reporting about
broken stuff, missing dependencies here and in ports depending on ghc.

Notes and rants:

- Bootstrapping is done using precompiled binaries, since .hc
  bootstrapping still doesn't work. I really hate this.

  THIS MEANS THAT GHC IS NOW AND WILL STAY LEGACY-ONLY (i386 and amd64)

  At least until someone fixes it. I tried for more than two year
  (well, only in my spare time and during my vacations) and failed.

- libgmp is currently disabled, because I didn't yet hack the GHC build
  system to use the system libgmp instead of the patched one included
  in GHC.

- The haddock ncluded in the ghc distfile is replaced by the version
  of haddock found in devel/haddock. Haddock itself is @commented
  in the ghc PLIST. Unfortunately, this needs an ugly hack that
  introduces an otherwise useless pseudo flavor `no_deps' in
  devel/haddock.

- CLDouble has been removed from GHC some time ago, because it was
  an alias for double (AFAIK there's now support for long double
  in GHC). As this isn't a really big problem, it currently breaks
  c2hs, which I'll mark broken temporarily before committing the
  ghc update.

- The external codeset defaults to latin1 (suggested by Simon Marlow)
  and can be overridden by setting the HS_ENCODING to any codeset
  supported by libiconv.

- ghc.port.mk still needs some love, especially for letting a port add
  additional parameters to certain invocations of ${MODGHC_SETUP_PROG}.
2010-04-22 21:49:37 +00:00
kili
de06ccc115 Fix for perl 5.10.
Thanks to sthen@ for testing the build on amd64.
2008-10-02 19:50:52 +00:00
bernd
22d49c4c96 Missing PKGNAME-doc bump after MAINTAINER removal. 2008-09-23 13:27:11 +00:00
kili
9c0d3edd18 Drop maintainership.
If you have to work on ghc-HEAD but can't get the ghc-HEAD souces, there's
no point to work on it at all.
If you complain about missing portability, and all those Haskell guys agree,
but at the same time delay bootstrapping to the next release whenever a
release happens, there's no expectation for getting bootstrapping back at
all.
2008-09-03 22:40:27 +00:00
naddy
af3c6d5ea8 mirror-maker should not look for arch-specific distfiles on unsupported
archs; ok kili@
2008-07-15 20:08:39 +00:00
kili
3c468d6f7d Fix GHCi for amd64 (s/EM_X86_64/EM_AMD64/ noticed by Don Steward). Tested
on amd64 by ckuethe@ (thanks).
Add a man page.
2007-09-16 20:05:12 +00:00
kili
d12945c8e6 Let the Cabal libraries pass the complete LDFLAGS to hsc2hs. 2007-07-22 22:37:25 +00:00
kili
87a3f71582 Update to 6.6.1. With helpful hints from Don Stewart and espie@.
Thanks to all the testers and to steven@, who was so kind to
build the HC files for bootstrapping on amd64.
2007-07-21 17:14:57 +00:00
espie
9eafbbfb35 base64 checksums. 2007-04-05 16:19:55 +00:00
espie
4b5b8ed8c5 new MULTI_PACKAGES. patch from kili, committing so we're finished... 2006-11-26 11:38:07 +00:00
espie
b75dec414c fix a few obviously wrong dependencies, and remove extra shells in ghc. 2006-11-20 13:07:19 +00:00
alek
da0914ecfa Add MODGHC_RUNTIME to add/remove runtime dependency on lang/ghc.
From Jon Olsson <jon@vexed.se>
2006-07-30 13:21:38 +00:00
alek
12b950cecc Use python 2.3
ok dons@
2005-05-22 07:10:33 +00:00
alek
e3df75271a - Fix dependencies for -doc subpackage
- Bump -doc PKGNAME
- Add WANTLIB marker
2005-02-21 19:30:34 +00:00
dons
d1837aebea Port ghc-6.2.2 to amd64.
ok pvalchev@
2005-02-19 03:42:11 +00:00
dons
cd5fda6e80 Update ghc to 6.2.2.
Adds support for ghci. More stable foreign function interface.

Just i386 at the moment.

ok sturm@ pvalchev@
2005-02-14 01:26:56 +00:00
naddy
a8817eabcc SIZE 2005-01-05 16:50:35 +00:00
espie
7baa1914ab new plists.
some fragment games with python.
2004-09-15 19:16:07 +00:00
xsa
9d761fa2f0 prepare for new-style MODULES; ok dons@. 2004-08-10 08:14:34 +00:00
dons
33e46f03bf Remove ld -no-keep-memory workaround for amd64, and use VMEM_WARNING instead.
ok pvalchev@ brad@
2004-05-20 00:08:22 +00:00
dons
1ad83d279b Ambiguous call to python in the regress tests.
Make sure we name exactly which python we want.
Spotted by Xavier.

ok xsa@
2004-05-07 11:11:02 +00:00
dons
b3c56c6d98 Update GHC to 6.2.1, and port to amd64
ok avsm@ pvalchev@
2004-04-26 23:48:50 +00:00
sturm
7297ccd7b0 mark some subpackages arch independent
ok naddy@
2004-02-04 07:39:18 +00:00
avsm
f9f57467b2 Add support for sparc ghc.
Hard work by Donald Stewart <dons at cse.unsw.edu.au>
2004-01-08 20:33:23 +00:00
avsm
febc03b5db fix regress by defining PYTHON; naddy@, espie@ ok 2003-09-01 22:46:28 +00:00
espie
bf9390788b Bootstrap using a more recent ghc, solves gc issues. From maintainer.
okay naddy.
2003-09-01 20:32:14 +00:00
espie
6515495ef8 pass 80M up as TWEAKED_SIZE in MAKE_FLAGS, so that it's easier to fiddle
with.
2003-08-21 19:51:23 +00:00
espie
50b6cadf2f Updating SUPDISTFILES is nice, remembering to record all checksums is
better...
2003-08-19 09:42:33 +00:00
avsm
d53f102ca6 unbreak distfile fetching, and update SUPDISTFILES 2003-08-14 21:38:36 +00:00
avsm
84bdc363ee correct LIB_DEPENDS, from Don Stewart <dons@cse.unsw.edu.au> 2003-08-14 01:01:16 +00:00
avsm
d492df62cc Allow ghc to work with external libgmp instead of building its own; this
will help with the sparc port.

From Don Stewart <dons@cse.unsw.edu.au>
2003-08-12 13:25:18 +00:00
avsm
858e226b6b Update to ghc-6.0.1, bugfixes
From: Don Stewart <dons at cse.unsw.edu.au>
2003-08-03 18:07:27 +00:00
avsm
34c46c4074 RCS tags, from Xavier Santolaria <xavier@santolaria.net> 2003-08-01 14:03:39 +00:00
avsm
34b97c484f no need to define YACC, add in a ghc module Makefile to set common ghc defines 2003-07-23 18:26:35 +00:00
avsm
c860d8934c Update from maintainer Don Stewart (dons at cse.unsw.edu.au):
- Updated to ghc-6.0
- Halved (roughly) the build time; by using the 6.0 in-tree build
we only have to build the 6.0 libraries once. Also we only build the
necessary parts of the bootstrap compiler.
- The ugly lndir/stage1 build is also gone.
- The full ghc regression suite is now part of the port!
"make regress" will run around 3000 regress tests.
- The regression tests revealed that the C foreign function
- The Makefile is simplified, using more default targets
- The documentation is updated to 6.0
- I put some of the 5.04.3 patches into ghc cvs, so they are
now obsolete.

Unfortunately, this lets mozilla back in the race for longest
package building time...
2003-07-20 21:57:10 +00:00
avsm
f6c7377e68 Add in some documentation in a ghc-doc-5.04.3 subpackage
Based on a port by Donald Bruce Stewart (maintainer)
2003-06-30 03:45:34 +00:00
avsm
5854c73dfa initial import of ghc-5.04.3, which takes the "longest compilation
time" award from mozilla and gcc3

From Don Stewart <dons@cse.unsw.edu.au> with tweaks from me

(i386 only for the moment)
--
The Glasgow Haskell Compiler is a robust, fully-featured, optimising
compiler for the functional programming language Haskell 98.

GHC compiles Haskell to either native code or C. It implements
numerous experimental language extensions to Haskell, including
concurrency, a foreign language interface, several type-system
extensions, exceptions, and so on. GHC comes with a generational
garbage collector, a space and time profiler, and a comprehensive
set of libraries.
2003-05-29 16:38:31 +00:00