Changes between Version 2 and Version 3 of Development/DevBuilds
- Timestamp:
- 02/24/10 03:11:04 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Development/DevBuilds
v2 v3 3 3 == Build Flavour == 4 4 5 Set {{{BUILDFLAVOUR}}} in {{{make/config.mk}}} file to {{{devel}}} for faster builds. This turns off some GHC optimi zations, and reduces the amount of rebuilding that must be done after changing one of the compiler source files.5 Set {{{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. 6 6 7 7 == Build Targets == 8 8 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|| 9 Lots of useful build targets are listed at the top of the [http://code.haskell.org/ddc/ddc-head/Makefile Makefile] 22 10 23 When hacking on DDC we usually use the the {{{bin/ddc}}} target to avoid trying to recompilethe runtime system and external libs each time around.11 When hacking on DDC we usually use the the {{{bin/ddc}}} target to avoid dependency checking the runtime system and external libs each time around. 24 12 25 13 {{{ 26 14 $ make bin/ddc 27 15 }}} 16 17 == Parallel Builds == 18 19 The makefile is set up to use the value of the `THREADS` variable wherever possible. 20 21 The default is currently 2, but if you have more then override this by creating a file `make/config-override.deps` containing 22 23 {{{ 24 THREADS = 8 # or whatever 25 }}}
