| Version 3 (modified by benl, 3 years ago) |
|---|
Build Flavour
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.
Build Targets
Lots of useful build targets are listed at the top of the Makefile
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.
$ make bin/ddc
Parallel Builds
The makefile is set up to use the value of the THREADS variable wherever possible.
The default is currently 2, but if you have more then override this by creating a file make/config-override.deps containing
THREADS = 8 # or whatever
