|Version 3 (modified by benl, 7 years ago)|
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.
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
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