1fb4d3c585ae374eface6f01ce0b503c383b7bd8
[packages/dph.git] / make / config.mk
1 # Default build configuration.
2 # This file is under version control.
3 # If you want to override these options then create a file make/config-override.mk
4 # and assign the appropdiate variables there.
5
6 # -- Tools --------------------------------------------------------------------
7 GHC_DPH = ghc
8 GHC_PKG = ghc-pkg
9 GHC_FRAMEWORK = ghc
10
11 # -- Backend ------------------------------------------------------------------
12 # What unlifted backend to use when compiling in-place.
13 # Options are {par, seq}
14 BACKEND = par
15
16 # What lifted frontend to use when compiling in-place.
17 # Options are {copy, vseg}
18 FRONTEND = vseg
19
20 # -- Flags --------------------------------------------------------------------
21 # How many threads to use with make
22 THREADS_MAKE = 4
23
24 # Optimisations to compile with.
25 GHC_OPTS = \
26 -Odph \
27 -fno-liberate-case
28
29 # GHC language extensions that DPH code needs.
30 GHC_EXTS = \
31 -XCPP \
32 -XBangPatterns \
33 -XNoMonomorphismRestriction \
34 -XTypeOperators \
35 -XExistentialQuantification \
36 -XRankNTypes \
37 -XTypeFamilies \
38 -XFlexibleInstances \
39 -XFlexibleContexts \
40 -XMagicHash \
41 -XUnboxedTuples \
42 -XTemplateHaskell
43
44 # External packages that we need
45 GHC_PACKAGES = \
46 ghc
47
48
49 # -- Override -----------------------------------------------------------------
50 # Override the above config.
51 -include make/config-override.mk