summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix building the extralibs tarballIan Lynagh2008-09-191-1/+1
| | | | | | We now need to dig the appropriate lines out of packages, rather than just catting libraries/extra-packages, in order to find out what the extralibs are.
* Fix how we put libffi into bindistsIan Lynagh2008-09-191-0/+1
|
* Add HpcParser.hs to source distsIan Lynagh2008-09-191-0/+7
|
* Fix the list of generated files that need to go into the source distsIan Lynagh2008-09-191-1/+1
|
* Put generated files in source distsIan Lynagh2008-09-181-0/+20
| | | | We don't want to require that users building source dists have alex/happy
* Reinstate the driver/ghc directory, to create a versioned GHC programIan Lynagh2008-09-121-1/+1
| | | | e.g. $(bindir)/ghc-6.9.20080911
* Use test -f rather than test -eIan Lynagh2008-09-081-1/+1
| | | | Hopefully this will fix the SunOS builbot slave.
* Fix the ext-core doc in bindistsIan Lynagh2008-09-071-0/+1
|
* Remove an erroneous comma from the MakefileIan Lynagh2008-08-281-1/+1
|
* Update the build system to handle building and using haddock2Ian Lynagh2008-08-281-2/+3
| | | | | One side-effect of this is that we need to build the install-utils with stage2 rather than stage1 as we need the ghc package.