Changes between Version 8 and Version 9 of Building/Modifying


Ignore:
Timestamp:
May 4, 2011 11:00:46 PM (4 years ago)
Author:
dterei
Comment:

change darcs to git reference

Legend:

Unmodified
Added
Removed
Modified
  • Building/Modifying

    v8 v9  
    1 
    2 
    3 '''NOTE''': this page relates to the new GHC build system, which was added to GHC in April 2009. For documentation of the "old" build system, see [wiki:Attic/Building/Old/Using] and [wiki:Attic/Building/BuildSystem].
    4 
    51= Modifying the build system =
    62
     
    7167To retire a GHC source file that is no longer needed:
    7268
    73   * Remove the working copy of the file (darcs will notice it is gone; if you are using git use {{{git rm}}}.
     69  * Remove the working copy of the file (git will notice it is gone), or use {{{git rm}}}.
    7470  * Remove the module from the list of modules in [[GhcFile(compiler/ghc.cabal.in)]].
    7571  * To remove all mention of the file from derived dependency files, it is necessary to do something on the order of
     
    9793Adding a new package is quite straightforward:
    9894
    99  * To arrange that the package is checked out by `darcs-all`, add an entry to the [[GhcFile(packages)]] file.
     95 * To arrange that the package is checked out by `sync-all`, add an entry to the [[GhcFile(packages)]] file.
    10096 * run `perl boot` to generate the `ghc.mk` and `GNUmakefile` files in your package's build.
    10197 * Add an entry to the `PACKAGES` variable in [[GhcFile(ghc.mk)]].  The list in `PACKAGES` is kept in dependency order: each package must appear after the packages it depends on.