Changes between Version 2 and Version 3 of Development/DevBuilds

Show
Ignore:
Timestamp:
02/24/10 03:11:04 (4 years ago)
Author:
benl (IP: 129.94.242.38)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/DevBuilds

    v2 v3  
    33== Build Flavour == 
    44 
    5 Set {{{BUILDFLAVOUR}}} in {{{make/config.mk}}} file to {{{devel}}} for faster builds. This turns off some GHC optimizations, and reduces the amount of rebuilding that must be done after changing one of the compiler source files. 
     5Set {{{BUILDFLAVOUR}}} in {{{make/config.mk}}} file to {{{devel}}} for faster builds. This turns off some GHC optimisations, and reduces the amount of rebuilding that must be done after changing one of the compiler source files. 
    66 
    77== Build Targets == 
    88 
    9 ||{{{all}}}||Build everything except docs|| 
    10 ||{{{deps}}}||Rebuild dependencies (this is usually done automatically)|| 
    11 ||{{{runtime}}}||Build just the runtime system|| 
    12 ||{{{external}}}||Build external libraries docs|| 
    13 ||{{{libs}}}||Build base DDC libraries|| 
    14 ||{{{doc}}}||Build Haddock docs|| 
    15 ||{{{test}}}||Run the quick check and regression rests|| 
    16 ||{{{clean}}}||Clean all .o .di .ddc.c .ddc.h .hi files from everywhere|| 
    17 ||{{{cleanWar}}}||Clean up everything produced by DDC itself: libraries, tests, demos|| 
    18 ||{{{cleanRuntime}}}||Clean up the runtime system|| 
    19 ||{{{bin/ddc}}}||Build just the compiler|| 
    20 ||{{{bin/war2}}}||Build just the test driver (for the war against bugs)|| 
    21 ||{{{bin/plate}}}||Build just the boilerplate generator|| 
     9Lots of useful build targets are listed at the top of the [http://code.haskell.org/ddc/ddc-head/Makefile Makefile] 
    2210 
    23 When hacking on DDC we usually use the the {{{bin/ddc}}} target to avoid trying to recompile the runtime system and external libs each time around. 
     11When hacking on DDC we usually use the the {{{bin/ddc}}} target to avoid dependency checking the runtime system and external libs each time around. 
    2412 
    2513{{{ 
    2614$ make bin/ddc 
    2715}}}      
     16 
     17== Parallel Builds == 
     18 
     19The makefile is set up to use the value of the `THREADS` variable wherever possible.  
     20 
     21The default is currently 2, but if you have more then override this by creating a file `make/config-override.deps` containing 
     22 
     23{{{ 
     24THREADS = 8     # or whatever 
     25}}}