Changes between Version 24 and Version 25 of Building/GettingTheSources


Ignore:
Timestamp:
Apr 23, 2008 10:07:44 AM (7 years ago)
Author:
dias
Comment:

rearranged some text for clarity

Legend:

Unmodified
Added
Removed
Modified
  • Building/GettingTheSources

    v24 v25  
    3030libraries has its own repository: see DarcsRepositories. 
    3131 
     32If you only want to download the latest sources and aren't interested in working on GHC, then you can get ''partial'' repositories: 
     33 
     34{{{ 
     35  $ darcs get --partial http://darcs.haskell.org/ghc 
     36  $ cd ghc 
     37  $ chmod +x darcs-all 
     38  $ ./darcs-all get 
     39}}} 
     40The command `darcs-all` adds the `--partial` flag by default. 
     41 
    3242If you plan to modify GHC, then you '''must''' get repositories with full history rather than just partial repositories.  (Why?  Because darcs has some bugs that sometimes cause problems when using partial repositories for anything more than just pulling the latest patches.) 
    3343However, '''you cannot use `darcs get` to get a full GHC repository''', for two reasons: 
     
    5767 
    5868If you omit step (3), then `darcs-all` will pull patches into the GHC repository too. If one of those patches modifies the `darcs-all` script itself, then bizarre things can happen (or at least: in the past, they could happen.) The safe thing to do is to get your main `ghc` repo up to date (step 3) and then run the script. 
    59  
    60 If you only want to download the latest sources and aren't interested in working on GHC, then you can get ''partial'' repositories: 
    61  
    62 {{{ 
    63   $ darcs get --partial http://darcs.haskell.org/ghc 
    64   $ cd ghc 
    65   $ chmod +x darcs-all 
    66   $ ./darcs-all get 
    67 }}} 
    68 The command `darcs-all` adds the `--partial` flag by default. 
    6969 
    7070== Getting more packages ==