- 18 Jul, 2014 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 14 May, 2014 1 commit
-
-
Herbert Valerio Riedel authored
This is a first step towards eliminating `default-extensions` in favour of per-file declared `{-# LANGUAGE ... #-}` pragmas. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 21 Apr, 2014 1 commit
-
-
Herbert Valerio Riedel authored
Soon, System.Exit will export the new `die` (see #9016 ) which would clash with Cabal's own `die` implementation. This commit provides forward-compatiblity. This also updates the Cabal submodule which requires a similiar fix. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 16 Apr, 2014 1 commit
-
-
Herbert Valerio Riedel authored
This corresponds to the RC of the soon-to-be Cabal 1.20 release One noteworthy change is the removal of the `--with-ranlib` flag requiring a small adaptation in the GHC build system. Moreover two new licences were added, MPL and BSD2. Due to https://github.com/haskell/cabal/issues/1622 Cabal-1.20 now allows to strip libraries as well, this doesn't work well with `ghc-cabal copy` being fed a `":"` strip-command argument which was simply ignored in the past. The current code tries to retain this semantics as backward compat. However, this needs more investigation as I'm not sure if/why the `test_bindist` step doesn't want the libraries to be stripped on installation. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 27 Mar, 2014 1 commit
-
-
Simon Marlow authored
-
- 23 Mar, 2014 1 commit
-
-
Herbert Valerio Riedel authored
This unbreaks the GHC build if a non-UTF8 locale such as LANG=C is active See also haskell/cabal#1721 and haskell/haddock#286 Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 01 Oct, 2013 1 commit
-
-
Simon Marlow authored
-
- 15 Sep, 2013 1 commit
-
-
bos authored
Our special ghc-cabal command needs to be told that we are building with dynamic library support when it does its copying. We do so by passing an extra parameter from ghc.mk.
-
- 26 Aug, 2013 1 commit
-
-
Herbert Valerio Riedel authored
Apart from bumping build-dep version bounds, `ghc-cabal` is adapted to some minor Cabal API changes, and `bin-package-db` is made aware of Cabal's recently added AGPL licence support.
-
- 14 May, 2013 2 commits
-
-
ian@well-typed.com authored
There's now an internal -dll-split flag, which we use to tell GHC how the GHC package is split into 2 separate DLLs. This is used by Packages.isDllName to determine whether a call is within the same DLL, or whether it is a call to another DLL.
-
ian@well-typed.com authored
It now consistently takes directory and distDirectory as its first 2 arguments. Also, it only supports configuring 1 package at a time now (we weren't using the ability to configure more than one at once).
-
- 12 May, 2013 1 commit
-
-
Ian Lynagh authored
Dynamic GHC is now working in-place, but pathologically slow due to the DLL split. (GHC assumes that all intra-package calls are in the same DLL, but that isn't true when we split the GHC package into 2 DLLs. That means that GHC's startup time is around 22 seconds, as it is doing run-time linking). Also, ghci isn't actually working yet: $ inplace/bin/ghc-stage2 --interactive GHCi, version 7.7.20130512: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... <command line>: can't load .so/.DLL for: HSghc-prim-0.3.1.0.dll (addDLL: could not load DLL) ghc-stage2.exe: HSghc-prim-0.3.1.0: The specified module could not be found.
-
- 25 Apr, 2013 1 commit
-
-
ian@well-typed.com authored
We had inplace/bin/ghc-cabalghc-cabal
-
- 20 Apr, 2013 2 commits
-
-
ian@well-typed.com authored
Currently they are all set to the same value, but when cross-compiling they could be set to different values.
-
ian@well-typed.com authored
-
- 13 Mar, 2013 1 commit
-
-
Ian Lynagh authored
-
- 12 Mar, 2013 1 commit
-
-
ian@well-typed.com authored
-
- 11 Mar, 2013 1 commit
-
-
ian@well-typed.com authored
-
- 03 Mar, 2013 4 commits
-
-
ian@well-typed.com authored
We now define _PROGNAME, and _PROG is automatically defined with $(exeext). This will shortly automatically use the right exeext depending on what stage it is being compiled with (exeext may be different for different stages when cross-compiling).
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
- 16 Feb, 2013 1 commit
-
-
ian@well-typed.com authored
-
- 01 Feb, 2013 1 commit
-
-
Simon Marlow authored
They share modules in Cabal, and unless they use exactly the same flags GHC recompiles the modules.
-
- 25 Oct, 2012 2 commits
-
-
ian@well-typed.com authored
This reverts commit c67b4313. We no longer need to always force, as ghc-pkg is cleverer.
-
ian@well-typed.com authored
When dynamic-by-default, we may only have .dyn_hi files, and ghc-pkg complains if there are no .hi files.
-
- 24 Oct, 2012 1 commit
-
-
ian@well-typed.com authored
-
- 14 Oct, 2012 2 commits
-
-
ian@well-typed.com authored
It doesn't really belong in package-data.mk
-
ian@well-typed.com authored
-
- 03 Oct, 2012 1 commit
-
-
ian@well-typed.com authored
This required various build system changes to get the build to go through. In the inplace shell wrappers, we set LD_LIBRARY_PATH to allow programs to find their libraries. In the future, we might change the inplace tree to be the same shape as an installed tree instead. However, this would mean changing the way we do installation, as currently we use cabal's installation methods to install the libraries, but that only works if the libraries are under libraries/foo/dist-install/build/..., rather than in inplace/lib/...
-
- 09 Sep, 2012 1 commit
-
-
pcapriotti authored
-
- 23 Aug, 2012 1 commit
-
-
ian@well-typed.com authored
-
- 19 Jul, 2012 1 commit
-
-
pcapriotti authored
-
- 15 May, 2012 1 commit
-
-
pcapriotti authored
Rename package database flags in both GHC and ghc-pkg so that they are consistent with Cabal nomenclature. Add a version check to the build system so that the correct set of package db flags are used when the bootstrapping GHC has version < 7.5.
-
- 07 May, 2012 1 commit
-
-
pcapriotti authored
-
- 24 Apr, 2012 1 commit
-
-
Ian Lynagh authored
-
- 08 Feb, 2012 1 commit
-
-
- 20 Jan, 2012 1 commit
-
-
Ian Lynagh authored
-
- 02 Dec, 2011 1 commit
-
-
Ian Lynagh authored
With Windows 7 in a vitrual box VM on OS X, some very odd things happen with dates and time stamps when SSHing into cygwin. e.g. here the "Change" time is in the past: $ date; touch foo; stat foo Fri Dec 2 16:58:07 GMTST 2011 File: `foo' Size: 0 Blocks: 0 IO Block: 65536 regular empty file Device: 540aba0bh/1409989131d Inode: 562949953592977 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ ian) Gid: ( 513/ None) Access: 2011-12-02 16:58:07.414457900 +0000 Modify: 2011-12-02 16:58:07.414457900 +0000 Change: 2011-12-02 16:58:03.495141800 +0000 Birth: 2011-12-02 16:57:57.731469900 +0000 And if we copy such a file, then the copy is older (as determined by the "Modify" time) than the original: $ date; touch foo; stat foo; cp foo bar; stat bar Fri Dec 2 16:59:10 GMTST 2011 File: `foo' Size: 0 Blocks: 0 IO Block: 65536 regular empty file Device: 540aba0bh/1409989131d Inode: 1407374883725128 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ ian) Gid: ( 513/ None) Access: 2011-12-02 16:59:10.118457900 +0000 Modify: 2011-12-02 16:59:10.118457900 +0000 Change: 2011-12-02 16:59:06.189477700 +0000 Birth: 2011-12-02 16:57:57.731469900 +0000 File: `bar' Size: 0 Blocks: 0 IO Block: 65536 regular empty file Device: 540aba0bh/1409989131d Inode: 281474976882512 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ ian) Gid: ( 513/ None) Access: 2011-12-02 16:59:06.394555800 +0000 Modify: 2011-12-02 16:59:06.394555800 +0000 Change: 2011-12-02 16:59:06.395532400 +0000 Birth: 2011-12-02 16:58:40.921899600 +0000 This means that make thinks that things are out of date when it shouldn't, so reinvokes itself repeatedly until the MAKE_RESTARTS infinite-recursion test triggers. The touchy program, like most other programs, creates files with both Modify and Change in the past, which is still a little odd, but is consistent, so doesn't break make.
-
- 23 Oct, 2011 1 commit
-
-
Ian Lynagh authored
We now make use of the ghc-packages file when making the haddock index.
-