Changes between Version 35 and Version 36 of Building/GettingTheSources


Ignore:
Timestamp:
Feb 24, 2009 11:09:01 AM (5 years ago)
Author:
igloo
Comment:

recommend using darcs for now

Legend:

Unmodified
Added
Removed
Modified
  • Building/GettingTheSources

    v35 v36  
    2121 
    2222Source distributions are easier to build, because we also include the output from running certain external tools like [http://haskell.org/happy Happy], so you don't need to install these tools.  See [wiki:Building/Prerequisites] for details. 
    23  
    24 == Getting a GHC source tree using git == 
    25  
    26 The first thing to do is install [http://darcs.net/ darcs] and [http://git.or.cz/ git]. 
    27  
    28 {{{ 
    29 git clone http://darcs.haskell.org/ghc.git ghc 
    30 cd ghc 
    31 ./sync-all --complete get 
    32 sh boot 
    33 ./configure && make 
    34 }}} 
    35  
    36 Note, on Windows you may have to change git's line-ending behaviour first: 
    37  
    38 {{{ 
    39 git config --global core.autocrlf false 
    40 }}} 
    41  
    42 since this is a global setting, you probably want to change it back after cloning ghc, and then set it locally for the GHC repo(s). 
    4323 
    4424== Getting a GHC source tree using darcs == 
     
    126106The full list of darcs repositories relating to GHC is at DarcsRepositories. 
    127107 
     108== Getting a GHC source tree using git == 
     109 
     110NOTE: This is not yet supported. We currently recommend you use darcs to get a source tree. 
     111 
     112The first thing to do is install [http://darcs.net/ darcs] and [http://git.or.cz/ git]. 
     113 
     114{{{ 
     115git clone http://darcs.haskell.org/ghc.git ghc 
     116cd ghc 
     117./sync-all --complete get 
     118sh boot 
     119./configure && make 
     120}}} 
     121 
     122Note, on Windows you may have to change git's line-ending behaviour first: 
     123 
     124{{{ 
     125git config --global core.autocrlf false 
     126}}} 
     127 
     128since this is a global setting, you probably want to change it back after cloning ghc, and then set it locally for the GHC repo(s). 
     129 
    128130=== Getting a branch === 
    129131