summaryrefslogtreecommitdiff
path: root/ghc.mk
Commit message (Collapse)AuthorAgeFilesLines
* Clean `.buildinfo` only if `.buildinfo.in` existsHerbert Valerio Riedel2013-10-251-1/+1
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Globally replace "hackage.haskell.org" with "ghc.haskell.org"Simon Marlow2013-10-011-4/+4
|
* Cause "make install" to install dynamic libraries (#8194)Bryan O'Sullivan2013-09-151-1/+2
| | | | | | 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.
* Don't delete HsTimeConfig.h.in during distclean.Austin Seipp2013-08-141-1/+1
| | | | | | | | | | | | | | | sdist preps the tree via distclean before anything else, which caused HsTimeConfig.h.in under 'time' to be deleted - even though it should be included in the resulting tarball for ./configure. The correct target is 'maintainer-clean'. I'm guessing the nightlies didn't complain because they run ./boot, forcing regeneration. NixOS's Hydra does not, though. Thanks to Peter Simons and Andres Löh for pointing this out. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Fix Stage1Only: don't build ghctags.Austin Seipp2013-08-141-0/+2
| | | | | | | | | ghctags needs the stage2 compiler, since it uses the GHC API. Fixes #8126. Authored-by: Stephen Blackheath <...@blacksapphire.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Make sdist make a separate tarball for the Windows tarballsIan Lynagh2013-07-301-12/+29
|
* Change the ranlib detectionIan Lynagh2013-07-031-1/+1
| | | | | | | | On Windows, the ranlib in the path may not be the right ranlib (it may be the 32bit ranlib when we are making a Win64 compiler, or vice-versa). Therefore we can't leave it up to libffi to detect the right ranlib, but need to tell it which ranlib to use. This means that we need to find ranlib even if we don't actually need it ourselves.
* Fix the dynmaic library paths in the libs, as well as in the programsIan Lynagh2013-06-221-0/+5
| | | | Part of #7833
* Cleaning fixes, and other build system tweaks; part of #7941Ian Lynagh2013-06-141-4/+11
|
* Don't create mk/stamp-hIan Lynagh2013-06-091-1/+0
| | | | I don't think we are using it for anything any more.
* Rarrange the distclean list; part of #7941Ian Lynagh2013-06-091-7/+41
|
* Change how we check that we have a suitable 'make'Ian Lynagh2013-06-091-0/+17
| | | | We now check in the same way that the testsuite does.
* Remove ghc.specIan Lynagh2013-06-091-2/+1
| | | | | It doesn't look like it would work now, and doesn't really belong in the GHC tree anyway.
* Add an echo target to the build systemIan Lynagh2013-05-251-0/+8
|
* Refer to the wiki page in the "Make has restarted itself n times" errorIan Lynagh2013-05-191-1/+1
| | | | Fixes #7592.
* Stop excluding the dyn way for the dph packages on WindowsIan Lynagh2013-05-141-12/+0
| | | | | Now that we can build the GHC package the dyn way, there's no need to exclude them.
* Simplify ghc-cabalIan Lynagh2013-05-141-2/+2
| | | | | | 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).
* Merge win:/cygdrive/c/ghc/git/dtIan Lynagh2013-05-121-18/+9
|\
| * More work towards dynamic programs on WindowsIan Lynagh2013-05-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * We actually need to use -threaded/-debug when linking /all/ DLLsIan Lynagh2013-05-121-18/+0
| | | | | | | | Not just base, integer-gmp and ghc-prim.
* | Some build system tweaksIan Lynagh2013-05-101-2/+2
|/
* Fix dynamically linked GHC on WindowsIan Lynagh2013-05-091-0/+18
| | | | | | | | | This is a rather ugly hack to fix dynamically linked GHC on Windows. If GHC is linked with -threaded, then it links against libHSrts_thr. But if base is linked against libHSrts, then both end up getting loaded, and things go wrong. We therefore link the libraries that link against the RTS with the same RTS flags that we link GHC with.
* Remove some cross-compilation kludgesIan Lynagh2013-04-211-13/+3
| | | | | I don't think these should be necessary. If something breaks as a result then we can look at why.
* Fix typo (spotted by gabor)Ian Lynagh2013-04-201-1/+1
|
* Fix haddockingIan Lynagh2013-04-201-5/+5
| | | | We weren't seting the _DO_HADDOCK variables early enough.
* Remove ghc-pkg from the list of dep files we build during phase 0Ian Lynagh2013-04-201-2/+0
| | | | I don't think it's necessary to build ghc-pkg that early.
* Add deriveConstants to the dep files we build in phase 0Ian Lynagh2013-04-201-0/+15
| | | | | | Dependency problem was discovered by int-e. I've also added some comments about what's going on.
* Follow build system changes in integer-gmpIan Lynagh2013-04-201-0/+2
| | | | Also a couple of other fixes and sanity checks along the way.
* Remove the Windows installerIan Lynagh2013-04-201-10/+0
| | | | We now leave making installers to the Haskell Platform.
* Some build system refactoringIan Lynagh2013-04-201-20/+20
|
* Small build system refactoringIan Lynagh2013-04-201-1/+1
|
* Update darcs -> git in a commentIan Lynagh2013-04-191-1/+1
|
* Remove boot-pkgs from SRC_DIST_GHC_FILESIan Lynagh2013-04-191-1/+1
| | | | The file no longer exists
* Fix installation; fixes #7784Ian Lynagh2013-04-071-1/+1
| | | | | | The build system thought that $(INSTALL_DYNLIBS) contained things like "terminfo", but actually it contains things like "libraries/terminfo".
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2013-04-071-2/+2
|\
| * TyposGabor Greif2013-04-071-2/+2
| |
* | Add a check that the Windows DLL split is OK; fixes #7780Ian Lynagh2013-04-071-0/+2
|/
* By default, use the dynamic way for programs in the GHC treeIan Lynagh2013-03-151-6/+6
| | | | | In particular, this means that GHCi will use DLLs, rather than loading object files itself.
* Finish adding support for 2 DLLs in the ghc package; fixes #5987Ian Lynagh2013-03-131-3/+0
|
* Fix building the GHC package DLL on WindowsIan Lynagh2013-03-111-0/+3
| | | | | | We now put a handful of modules in a separate DLL. For now the list is hand-written, but we could automate it in the future.
* installation fixesIan Lynagh2013-03-031-1/+1
|
* Use more of the automatically generated INPLACE variablesIan Lynagh2013-03-031-3/+3
|
* Define $(prog)_INPLACE variables automatically, and start using themIan Lynagh2013-03-031-5/+5
|
* Add missing parenthesisIan Lynagh2013-03-031-1/+1
|
* Fix build when dph is not in the tree; fixes #7733Ian Lynagh2013-03-031-1/+1
| | | | Patch from Stephen Blackheath.
* Add PACKAGES_STAGE0 to build-dirs too; fixes #7700Ian Lynagh2013-03-031-8/+8
| | | | | | | | This is sometimes needed when cross-compiling, as some packages may be built in stage 0 but not stage 1. In order to make everything work out, this also removes the requirement that the build-dirs are in dependency order
* Remove a couple more single-use variablesIan Lynagh2013-03-021-2/+2
|
* Remove some single-use build system variablesIan Lynagh2013-03-021-7/+7
|
* small build system tweakIan Lynagh2013-03-021-7/+1
|
* LATEX_DOCS is no longer usedIan Lynagh2013-03-021-1/+0
|