summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead code now that we require the bootstrapping compiler be >= 6.12Ian Lynagh2010-12-141-22/+0
|
* Always enable the archive-loading codeIan Lynagh2010-11-271-11/+13
| | | | If the GHCi .o lib doesn't exist, load the .a instead
* Fixes for when HADDOCK_DOCS=NOIan Lynagh2010-09-211-1/+6
|
* Implement archive loading for ghciIan Lynagh2010-09-201-0/+6
|
* Remove some duplication of C flagsIan Lynagh2010-08-191-0/+4
| | | | | We now use the CONF_CC_OPTS_STAGEn C flags in machdepCCOpts, rather than repeating them there.
* Give each stage its own Config.hsIan Lynagh2010-08-191-5/+6
| | | | | This also means the file is generated in a dist directory, not a source directory.
* Delete GhcLibProfiledsimonpj@microsoft.com2010-08-131-7/+1
| | | | | | | | | | Simon M and I looked at this, and we think GhcLibProfiled is (a) not needed (b) confusing. Ian should review. Really, if GhcProfiled is on we should also check that 'p' is in the GhcLibWays
* Add platform info to "ghc --info" outputIan Lynagh2010-07-161-0/+11
|
* Tidy up Config.hs generationIan Lynagh2010-07-161-76/+76
|
* Correct the values in ghc_boot_platform.hIan Lynagh2010-07-141-71/+71
|
* Fixing link failure of compiler on ia64 ('-Wl,' prefixed value passed ↵Sergei Trofimovich2010-07-081-4/+0
| | | | | | | | | | | | | directly to ld) /usr/bin/ld -Wl,--relax -r -o dist-stage1/build/HSghc-6.10.4.o \ dist-stage1/build/BasicTypes.o dist-stage1/build/DataCon.o ... /usr/bin/ld: unrecognized option '-Wl,--relax' If we just drop '-Wl,' part it will not help as '-r' and '--relax' are incompatible. Looks like '-Wl,--relax' was skipped by earlier binutils' ld as unknown option. Removing ia64 specific path.
* Add support of TNTC to llvm backendDavid Terei2010-06-181-8/+2
| | | | | | | We do this through a gnu as feature called subsections, where you can put data/code into a numbered subsection and those subsections will be joined together in descending order by gas at compile time.
* pick up changes to $(GhcStage1HcOpts) without re-configuring the ghc packageSimon Marlow2010-06-161-4/+5
|
* fix -fforce-recomp setting: module is PrimOp, not PrimOpsSimon Marlow2010-05-071-1/+1
|
* Add new LLVM code generator to GHC. (Version 2)David Terei2010-06-151-1/+11
| | | | | | | | | | | | | | | | | | This was done as part of an honours thesis at UNSW, the paper describing the work and results can be found at: http://www.cse.unsw.edu.au/~pls/thesis/davidt-thesis.pdf A Homepage for the backend can be found at: http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/Backends/LLVM Quick summary of performance is that for the 'nofib' benchmark suite, runtimes are within 5% slower than the NCG and generally better than the C code generator. For some code though, such as the DPH projects benchmark, the LLVM code generator outperforms the NCG and C code generator by about a 25% reduction in run times.
* the 'stage=0' trick to disable all compiler builds stopped working; fix itSimon Marlow2010-05-201-8/+7
|
* Undo part of #4003 patchSimon Marlow2010-05-131-0/+7
| | | | | We still need the workaround for when compiling HEAD with 6.12.2
* Fix Trac #4003: fix the knot-tying in checkHiBootIfacesimonpj@microsoft.com2010-05-111-7/+0
| | | | | | | I had incorrectly "optimised" checkHiBootIface so that it forgot to update the "knot-tied" type environment. This patch fixes the HEAD
* Fix "make 2"Ian Lynagh2010-04-271-1/+7
| | | | | The new Makefile logic was enabling the stage 1 rules when stage=2, so "make 2" was rebuilding stage 1.
* workaround for #4003, fixes HEAD build with 6.12.2Simon Marlow2010-04-261-0/+7
|
* Make sure all the clean rules are always includedIan Lynagh2010-04-241-12/+6
| | | | In particular, this fixes a problem where stage3 bits weren't being cleaned
* Remove unused cUSER_WAY_NAMES cUSER_WAY_OPTSIan Lynagh2010-03-241-4/+0
|
* Remove unused cCONTEXT_DIFFIan Lynagh2010-03-241-2/+0
|
* Remove unused cEnableWin32DLLsIan Lynagh2010-03-241-2/+0
|
* Remove unused cGHC_CPIan Lynagh2010-03-241-2/+0
|
* Make "make tags" work in the new build systemIan Lynagh2010-02-211-0/+3
|
* Invoke Haddock directly from the build system, instead of via CabalSimon Marlow2010-01-121-1/+1
| | | | | | | | | | | | | Partly this is cleaner as we only have to preprocess the source files once, but also it is necessary to avoid Haddock recompiling source files when Template Haskell is in use, saving some time in validate and fixing a problem whereby when HADDOCK_DOCS=YES, make always re-haddocks the DPH packages. This also needs an additional fix to GHC. HsColour support still uses Cabal, and hence preprocesses the source files again. We could move this into the build system too, but there is a version dependency that would mean adding extra autoconf stuff.
* Avoid a failing shell command when cleaningIan Lynagh2009-12-181-0/+2
| | | | It wasn't fatal, but better to avoid it anyway
* Don't make C deps for compiler/parser/cutils.c in stage1Ian Lynagh2009-12-151-0/+2
| | | | | | CPP finds the Rts.h, RtsFlags.h etc from the tree, rather than the bootstrapping compiler, and then fails because it doesn't think RtsFlags.h should be used any more.
* Fix the stage1 version number mungingIan Lynagh2009-12-091-2/+7
| | | | It was munging 6.12.1 into 62
* Eliminate mkdependCIan Lynagh2009-12-091-6/+12
| | | | We now just call gcc to get the dependencies directly
* Don't try to rebuild compiler/primop-*.hs-incl when BootingFromHcSimon Marlow2009-11-091-0/+2
| | | | Patch submitted by Matthias Kilian <kili@outback.escape.de>
* Add some manual dependencies, and -fforce-recomp for Constants and PrimOpsSimon Marlow2009-10-151-1/+6
| | | | | | GHC's recompilation checker doesn't take into account #included files, which is really a bug. We work around it here by adding dependencies and using -fforce-recomp in a couple of places.
* Use "order only constraints" for directoriesIan Lynagh2009-10-021-4/+2
| | | | There are now 104 calls to mkdirhier, down from 1201, when validating.
* Don't register the non-munged stage1 ghc packageIan Lynagh2009-09-131-0/+5
| | | | It confuses the build system.
* Fixes for compiling the HEAD with iteslfIan Lynagh2009-09-131-4/+8
|
* Add unique package identifiers (InstalledPackageId) in the package DBSimon Marlow2009-08-201-0/+1
| | | | | See commentary at http://hackage.haskell.org/trac/ghc/wiki/Commentary/Packages
* Make the Integer library used directly configurable in GHC and baseIan Lynagh2009-07-221-0/+2
| | | | Rather than indirecting through an integer package
* Tweak whitespaceIan Lynagh2009-07-191-14/+14
|
* remove unused $(HscIfaceFileVersion)Simon Marlow2009-07-201-2/+0
|
* Fix the compiler-hs-dependency'sIan Lynagh2009-06-121-7/+7
| | | | | | We needed some more $s to delay evaluation until the values are available, and the calls needed to be later in the ghc.mk so that compiler_stage2_WAYS etc are defined.
* depend on mk/project.mk appropriatelySimon Marlow2009-05-291-3/+3
|
* Quote commands that we run, so they work if there are space in their pathsIan Lynagh2009-05-301-18/+18
| | | | | I've also added some missing $s to some makefiles. These aren't technically necessary, but it's nice to be consistent.
* Be more precise about munging compiler/stage1/inplace-pkg-configIan Lynagh2009-05-241-1/+3
| | | | | | | We were removing ".$(ProjectPatchLevel)" from anywhere in the file. However, it included absolute paths, so if you untar a source tarball into its default directory name, e.g. "6.11.$(ProjectPatchLevel)", then the sed would break the paths.
* Further fixes to the stage1 version hack; fix validate.Simon Marlow2009-05-151-0/+19
| | | | | | I'm less convinced this is a good idea now. But it does avoid rebuilding most of stage1 when you pull and reconfigure. Better solutions welcome.
* don't rebuild the whole of stage 1 just because the date has changedSimon Marlow2009-05-141-0/+10
|
* Add a header to all build system files:Simon Marlow2009-04-281-0/+12
| | | | | | | | | | | | | | # ----------------------------------------------------------------------------- # # (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 # # -----------------------------------------------------------------------------
* GHC new build system megapatchIan Lynagh2009-04-261-0/+432