summaryrefslogtreecommitdiff
path: root/rules/hs-suffix-rules-srcdir.mk
Commit message (Collapse)AuthorAgeFilesLines
* Update Wiki URLs to point to GitLabTakenobu Tani2019-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | This moves all URL references to Trac Wiki to their corresponding GitLab counterparts. This substitution is classified as follows: 1. Automated substitution using sed with Ben's mapping rule [1] Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy... New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy... 2. Manual substitution for URLs containing `#` index Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...#Zzz New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...#zzz 3. Manual substitution for strings starting with `Commentary` Old: Commentary/XxxYyy... New: commentary/xxx-yyy... See also !539 [1]: https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json
* Globally replace "hackage.haskell.org" with "ghc.haskell.org"Simon Marlow2013-10-011-2/+2
|
* Define $(prog)_INPLACE variables automatically, and start using themIan Lynagh2013-03-031-2/+2
|
* Separate the non-way-specific hs-suffix rulesIan Lynagh2013-02-211-0/+50
| | | | This means we don't define them multiple times
* Rename hs-suffix-rules-srcdir to hs-suffix-way-rules-srcdirIan Lynagh2013-02-211-93/+0
|
* Small build system refactoring; no functional changesIan Lynagh2013-02-211-2/+0
|
* Finish removing BootingFromHcIan Lynagh2013-02-171-6/+0
|
* Make the rule for .hi files depend on the .hs/.lhs filesIan Lynagh2013-01-101-0/+2
| | | | | make thought that it could make a .hi file for the C files in libraries, which was causing problems when using dynamic-too.
* Put the generated Parser.y under compiler/stage<n>/build; fixes #7195Ian Lynagh2012-10-101-0/+6
|
* A build-system tweak for more readable build output.Iavor S. Diatchki2012-04-271-15/+15
| | | | | | | | | | | This change reduces the (default) verbosity of the build system. This makes it easier to spot warnings in the output and, also, it makes it easier to estimate how far along are we in the build process by just glancing at the output. To get the traditional fully verbose output, set V=1, like this: make V=1
* RefactoringIan Lynagh2012-01-081-2/+2
| | | | | This is working towards being able to put ghcautoconf.h and ghcplatform.h in includes/dist
* Add some missing dependencies; should fix make after re-configureSimon Marlow2011-09-161-6/+6
| | | | | | | | | | | | | | | | | | | | Every Haskell compilation in a package should depend on the package-data.mk file for that package. Then, if a package's version number is bumped, we will recompile all the modules in the package so that their interface files get the new version number. This should mean that a simple 'make' will succeed in a couple of scenarios where it didn't before: 1. re-configuring bumps the version number of GHC, so everything in the ghc package (stages 1 & 2) must be recompiled. 2. bumping the version of one of the boot packages does not require a make clean any more. I have tested (1) but not (2). LAX_DEPENDENCIES=YES disabled these new dependencies too.
* By default, be lax about dependencies on GHCIan Lynagh2011-08-281-6/+6
| | | | | | | | | | | | There are a number of things which technically depend on GHC (e.g. if ghc changes then Haskell files may be compiled differently, or Cabal packages may be configured differently). However, in practice, having a real dependency on GHC is just a pain: We normally don't want to spend time recompiling other things while we're working on the compiler, and even if we did, GHC will normally decide compilation isn't needed anyway. So by default we use order-only dependencies on GHC, i.e. GHC must exist, but if it's newer than other targets then rebuilding is not necessary.
* Make stage-specific CC variablesIan Lynagh2011-04-231-2/+2
| | | | | This allows different gcc's to be used when building different stages, which we need to do when cross-compiling.
* Simplify the build system, and remove 2 phasesIan Lynagh2011-01-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use "order only constraints" for directoriesIan Lynagh2009-10-021-10/+5
| | | | There are now 104 calls to mkdirhier, down from 1201, when validating.
* remove "touch %_hsc.c" - what was it for?Simon Marlow2009-09-211-1/+0
|
* Quote commands that we run, so they work if there are space in their pathsIan Lynagh2009-05-301-22/+22
| | | | | I've also added some missing $s to some makefiles. These aren't technically necessary, but it's nice to be consistent.
* Bootstrapping fixesIan Lynagh2009-05-171-0/+2
|
* Bootstrapping fixesIan Lynagh2009-05-161-1/+1
|
* Bootstrapping fixIan Lynagh2009-05-041-0/+1
|
* Bootstrapping fixesIan Lynagh2009-05-041-4/+4
|
* Use "-x c" when compiling hc filesIan Lynagh2009-05-031-2/+2
|
* More bootstrapping rulesIan Lynagh2009-05-031-0/+3
|
* Add a .hc building rules for bootstrappingIan Lynagh2009-05-031-0/+7
|
* 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/+70