summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Bug #9439: Ensure that stage 0 compiler isn't affectedBen Gamari2014-08-181-0/+7
| | | | | | | | | | | | | | | | Summary: Bug #9439 will cause miscompilation of GHC's LLVM backend. Here we ensure that an affected compiler isn't used to bootstrap. Test Plan: Attempt to bootstrap GHC with an affected stage 0 compiler. Reviewers: rwbarton, austin Reviewed By: austin Subscribers: simonmar, relrod, ezyang, carter Differential Revision: https://phabricator.haskell.org/D159
* Don't require mk/config.mk for all cleanup targetsHerbert Valerio Riedel2014-04-271-1/+1
| | | | | | | | `make clean` did already ignore a missing mk/config.mk, but `make distclean` and `make maintainer-clean` didn't. This commit rectifies this oversight. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Fix `make help`Kyle J. Van Berendonck2014-04-211-2/+2
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Fix binary-dist target with xz/gzipAustin Seipp2014-02-281-1/+1
| | | | | | | This was harmless but annoying: we forgot to take the compression extention into account when copying the binary dist out of bindistprep Signed-off-by: Austin Seipp <austin@well-typed.com>
* Fix Windows binary-dist targetAustin Seipp2014-01-141-3/+0
| | | | | | | | I'm not entirely sure what the intention of this code was, but it was quite old, and the binary distribution for Windows seems to work OK nonetheless. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Globally replace "hackage.haskell.org" with "ghc.haskell.org"Simon Marlow2013-10-011-2/+2
|
* Add an echo target to the build systemIan Lynagh2013-05-251-2/+2
|
* Don't try to make windows-installerIan Lynagh2013-05-181-1/+0
| | | | It was removed in 9e4e2c24d1895ae81c92e4432b91026505827c96.
* Fix 'make test' command for new testsuite locationDavid Terei2011-07-201-2/+2
|
* Update some files for new testsuite tests locationDavid Terei2011-07-201-2/+2
|
* Remove depreciated install-docs commandDavid Terei2011-05-041-7/+1
|
* Call the final build system phase "final" rather than ""Ian Lynagh2011-02-071-1/+1
|
* Fix "make 1" etc following the build system changesIan Lynagh2011-01-271-0/+2
| | | | | The logic is now in mk/compiler-ghc.mk rather than being duplicated in ghc/Makefile and compiler/Makefile.
* Simplify the build system, and remove 2 phasesIan Lynagh2011-01-221-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | From http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture/Idiom/PhaseOrdering Phase 0: Includes: package-data.mk files for things built by the bootstrapping compiler. Builds: the dependency files for hsc2hs and genprimopcode. We need to do this now, as hsc2hs needs to be buildable in phase 1's includes (so that we can make the hpc library's .hs source files, which in turn is necessary for making its dependency files), and genprimopcode needs to be buildable in phase 1's includes (so that we can make the primop-*.hs-incl files, which are sources for the stage1 compiler library, and thus necessary for making its dependency files). Phase 1: Includes: dependency files for things built by the bootstrapping compiler. Builds: package-data.mk files for everything else. Note that this requires configuring the packages, which means telling cabal which ghc to use, and thus the stage1 compiler gets built during this phase. Phase "": Includes: dependency files for everything else. Builds: Everything else.
* Remove an unnecessary phase, and some unnecessary depsIan Lynagh2011-01-161-4/+0
| | | | now that cross-package deps are tracked correctly.
* Build system improvementsIan Lynagh2011-01-151-9/+13
| | | | | | | | | We no longer use dummy-ghc; instead we don't configure most packages until the stage1 compiler is available. We also now use Cabal for building the ghc-bin package. There are a couple more sanity checks too.
* make test and fulltest targets in the main Makefile; fixes #4297Ian Lynagh2010-09-301-1/+10
| | | | | | You can now run "make test" in the root, and the fast testsuite will be run with cleaning enabled. It will also put the summary in testsuite_summary.txt.
* Second test from Simon's laptopsimonpj@microsoft.com2010-07-291-1/+1
|
* Test commit from Simon's laptopsimonpj@microsoft.com2010-07-291-1/+1
|
* Add an install-docs target that emits a helpful diagnostic (#3662)Simon Marlow2009-11-161-1/+7
|
* Change where bindists are madeIan Lynagh2009-09-271-4/+10
| | | | | | We now do all the hard work in a bindistprep subdirectory, and just move the result to the root directory. This way we can delete anything in bindistprep/ without worrying about deleting anything important.
* Fix "make show" in a bindistIan Lynagh2009-08-011-7/+3
|
* avoid (benign) error about overriding rules for binary-distSimon Marlow2009-07-271-1/+1
|
* remove Solaris-specific hacks, now unnecessarySimon Marlow2009-07-131-6/+1
|
* Simplify timestamp restorationMatthias Kilian2009-07-111-25/+5
|
* Use /usr/bin/test if it exists, and fix test syntax.Simon Marlow2009-07-091-2/+7
| | | | Should fix Solaris build failures
* Avoid unnecessary recompilation after ./configure (helps #3228)Simon Marlow2009-07-071-0/+29
| | | | | | We cache the old versions of files generated by configure, so that if configure touches the file without changing it, we can detect that and restore the timestamp.
* Add 'make help', displaying a list of useful make targetsSimon Marlow2009-06-151-1/+6
|
* Make Windows bindists and installers work in the new build systemIan Lynagh2009-06-101-0/+5
|
* Remove hacky on-demand building of libraries/*/ghc.mk, put it back in sh bootSimon Marlow2009-05-221-6/+2
| | | | | | | Now that the clean rules don't require libraries/*/ghc.mk, we don't have to build them on demand. And having them built on demand introduced a failure mode (where some libraries have ghc.mk and some don't).
* Set CLEANING=YES for the clean_% targetsIan Lynagh2009-05-201-1/+1
|
* allow phases to be omitted by setting OMIT_PHASE_[123]=YESSimon Marlow2009-05-191-0/+6
|
* Bootstrapping fixesIan Lynagh2009-05-161-2/+2
|
* Don't require the library ghc.mk files in order to cleanIan Lynagh2009-05-151-6/+4
|
* main repeated 'make maintainer-clean' not failSimon Marlow2009-05-141-6/+11
|
* make repeated 'make distclean' not failSimon Marlow2009-05-141-1/+4
|
* Partially fix "make framework-pkg"Ian Lynagh2009-05-081-1/+14
| | | | | We still need to sort out the "install-docs" story to get this working properly.
* Add a header to all build system files:Simon Marlow2009-04-281-0/+11
| | | | | | | | | | | | | | # ----------------------------------------------------------------------------- # # (c) 2009 The University of Glasgow # # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying # # -----------------------------------------------------------------------------
* remove commentary that is now in the wikiSimon Marlow2009-04-271-81/+0
|
* GHC new build system megapatchIan Lynagh2009-04-261-633/+113
|
* Don't use the absolute path to the bindist tarballIan Lynagh2009-02-101-3/+3
| | | | | | | | | On Windows, we end up doing something like rsync c:/build/ghc-6.10.1-unknown-mingw32.tar.bz2 haskell.org:dist and it thinks that it is meant to get the file from the host called "c". Now we just do rsync ghc-6.10.1-unknown-mingw32.tar.bz2 haskell.org:dist so rsync understand what we mean.
* Build dph with the stage2 compilerIan Lynagh2009-02-031-0/+1
| | | | It will use TH, so needs to be built with stage2.
* Fix "make install": Put "[]" in the install package.confIan Lynagh2009-01-141-0/+2
|
* Check that make supports evalIan Lynagh2009-01-091-0/+7
|
* Require HsColour by defaultIan Lynagh2009-01-041-1/+9
| | | | | | | | This should stop us ending up without HsColour'ed sources on some platforms. We also now tell Cabal where to find HsColour, rather than it finding it itself.
* Delay building libffi until package.conf is created and fix bindistClemens Fruhwirth2008-10-101-1/+1
|
* Turn libffi into a Haskell packageClemens Fruhwirth2008-10-081-1/+1
|
* fix syntax errors in src-dist publish rulesSimon Marlow2008-10-081-2/+2
|
* Use $(TAR) rather than tarIan Lynagh2008-09-241-8/+8
| | | | Fixes problems on Solaris, where we need to use gtar instead of tar
* Escape a hash in the Makefile (it was breaking source dist creation)Ian Lynagh2008-09-201-1/+1
|