on develop help sign in
Make flags more specific
a5195a4Oliver Batchelor
cabal.haskell-ci+5−2
@@ -15,5 +15,8 @@ constraint-set old-these
15constraint-set old-witherable
15constraint-set old-witherable
16 constraints: witherable <0.3.2
16 constraints: witherable <0.3.2
17
17
18−constraint-set debug
18+constraint-set debug-propagation
19+ constraints: +debug-propagation
20+
21+constraint-set debug-cycles
19− constraints: +debug
22+ constraints: +debug-cycles
reflex.cabal+10−1
@@ -46,6 +46,12 @@ flag debug-propagation
46 default: False
46 default: False
47 manual: True
47 manual: True
48
48
49+flag debug-cycles
50+ description: Enable debugging of event cycles
51+ default: False
52+ manual: True
53+
54+
49flag split-these
55flag split-these
50 description: Use split these/semialign packages
56 description: Use split these/semialign packages
51 manual: False
57 manual: False
@@ -152,9 +158,12 @@ library
152 build-depends: ghc
158 build-depends: ghc
153 exposed-modules: Reflex.Optimizer
159 exposed-modules: Reflex.Optimizer
154
160
155− if flag(debug)
161+ if flag(debug-propagation)
156 cpp-options: -DDEBUG
162 cpp-options: -DDEBUG
157
163
164+ if flag(debug-cycles)
165+ cpp-options: -DDEBUG_CYCLES
166+
158 if flag(use-template-haskell)
167 if flag(use-template-haskell)
159 cpp-options: -DUSE_TEMPLATE_HASKELL
168 cpp-options: -DUSE_TEMPLATE_HASKELL
160 build-depends:
169 build-depends: