summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Don't check that we have found haddockIan Lynagh2008-08-281-10/+1
| | | | We now use an in-tree haddock instead
* Change references to the old BIN_DIST_TARBALL to the new BIN_DIST_TAR_BZ2Ian Lynagh2008-08-241-4/+4
|
* Fix the "have we got all the bootlibs" checkIan Lynagh2008-08-241-1/+1
| | | | | The packages file has an extra component (for "darcs" or "git") so we need to take that into account when grepping.
* Actually tar up Windows bindistsIan Lynagh2008-08-241-9/+8
|
* Don't put symlinks in bindists, but the files they point at insteadIan Lynagh2008-08-201-1/+3
|
* Change how we know whether or not we are validatingIan Lynagh2008-08-171-1/+1
| | | | | | | | We now set Validating=YES in mk/are-validating.mk rather than on the commandline. This means that if you build a tree with validate then just running make in it will use the validate flags. "make distclean" removes mk/are-validating.mk, putting us back in standard build mode.
* When making in compiler/, automatically make in ghc/ when we are doneIan Lynagh2008-08-171-6/+0
|
* Remove inplace-datadir when cleaningIan Lynagh2008-08-101-0/+3
|
* bindist fixesIan Lynagh2008-08-101-2/+11
|
* bindists are now some way towards workingIan Lynagh2008-08-101-77/+86
|
* Update the test in Makefile that we have all the boot libsIan Lynagh2008-07-291-3/+3
|
* change where we put gcc-lib/ld.exe to keep Cabal happySimon Marlow2008-07-281-4/+4
|
* haddock the stage2 compiler if HADDOCK_DOCS is YESIan Lynagh2008-07-201-0/+3
|
* Fix the order in which things get builtIan Lynagh2008-07-171-5/+13
|
* Get building GHC itself with Cabal more-or-less workingIan Lynagh2008-07-161-3/+4
| | | | | Installing and bindist creation don't work, but they were already broken. Only tested validating with one setup.
* If HADDOCK_DOCS is YES, then fail the build early if we couldn't find haddockIan Lynagh2008-07-131-3/+14
| | | | This fixes trac #2266.
* Get rid of compat/Ian Lynagh2008-07-081-5/+3
| | | | | | Compat.Unicode is not utils/Unicode in the compiler. We build the hpc package with the stage1 compiler. Nothing else in the compat package was still used.
* libffi now doesn't have an artificial make boot/all splitIan Lynagh2008-07-051-2/+3
|
* Need to make all in gmp, not bootIan Lynagh2008-07-051-1/+1
|
* gmp didn't really fit into the make boot/all cycle, so don't try to force itIan Lynagh2008-07-051-2/+3
| | | | Now we just run make in it at the start of the stage1 build
* Include ghc.spec in tarballs; patch from, and fixes, trac #2390Ian Lynagh2008-07-031-2/+2
|
* Teach cabal-bin how to build Setup programsIan Lynagh2008-07-031-1/+1
| | | | | | | We now build a copy of Cabal and put it in a bootstrapping package.conf. We also make boot in libraries much earlier in the build process, so we can use cabal-bin for more stuff in the future.
* Don't rebuild things with the stage2 compilerIan Lynagh2008-06-221-7/+0
| | | | | It leads to annoying rebuilding when working in a built tree. We'll handle this differently for 6.10.
* Import libffi-3.0.4, and use it to provide FFI support in GHCiSimon Marlow2008-04-081-3/+3
| | | | | | | | | | | | | | | | | | | | This replaces the hand-rolled architecture-specific FFI support in GHCi with the standard libffi as used in GCJ, Python and other projects. I've bundled the complete libffi-3.0.4 tarball in the source tree in the same way as we do for GMP, the difference being that we always build and install our own libffi regardless of whether there's one on the system (it's small, and we don't want dependency/versioning headaches). In particular this means that unregisterised builds will now have a fully working GHCi including FFI out of the box, provided libffi supports the platform. There is also code in the RTS to use libffi in place of rts/Adjustor.c, but it is currently not enabled if we already have support in Adjustor.c for the current platform. We need to assess the performance impact before using libffi here too (in GHCi we don't care too much about performance).
* Use editline instead of readlineIan Lynagh2008-03-161-1/+1
|
* All installed Haskell prgms have an inplace and an installed versionManuel M T Chakravarty2008-02-181-15/+15
| | | | | | | | | | | | | | | | | | | | | | | - GHC installs a range of compiled Haskell programs in addition to the actual compiler. To ensure that they all run on the platform targeted by the build (which may have different libraries installed than the build host), we need to make sure that all compiled Haskell code going into an install is build with the stage 1 compiler, not the bootstrap compiler. Getting this right is especially important on the Mac to enable builds that work on Mac OS X versions that are older than the one performing the build. - For all installed utils implemented in Haskell (i.e., ghc-pkg, hasktags, hsc2hs, runghc, hpc, and pwd) we compile two versions, an inplace version and a version for installation. The former is build by the bootstrap compiler during the stage 1 build and the latter is build by the stage 1 compiler during the stage 2 build. - This is really very much as the setup for ghc itself, only that we don't use separate stage1/ and stage2/ build directories. Instead, we clean before each build. CAVEAT: This only works properly if invoked from the toplevel Makefile. - Instead of UseStage1=YES (as used by the previous binary-dist-specific recompilation), we now use the same $(stage) variables as used for the compiler proper - to increase uniformity and to avoid extra conditionals for the install target.
* xcode build target for fixed /Library/Frameworks instManuel M T Chakravarty2008-02-051-33/+29
| | | | | - Also moving all MacOS-specific Makefile components into distrib/MacOS/Makefile