1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
# See NullaryPlugin.hs for a description of this plugin.
test('TcPlugin_Nullary'
, [ extra_files(
[ 'Definitions.hs'
, 'Common.hs'
, 'NullaryPlugin.hs'
, 'TcPlugin_Nullary.hs'
])
]
, multi_compile
, [ 'TcPlugin_Nullary.hs'
, [ ('Definitions.hs', '')
, ('Common.hs', '')
, ('NullaryPlugin.hs', '')
]
,'-dynamic -package ghc' if have_dynamic() else '-package ghc']
)
# See ArgsPlugin.hs for a description of this plugin.
test('TcPlugin_Args'
, [ extra_files(
[ 'Definitions.hs'
, 'Common.hs'
, 'ArgsPlugin.hs'
, 'TcPlugin_Args.hs'
])
]
, multi_compile_and_run
, [ 'TcPlugin_Args.hs'
, [ ('Definitions.hs', '')
, ('Common.hs', '')
, ('ArgsPlugin.hs', '')
]
,'-dynamic -package ghc' if have_dynamic() else '-package ghc']
)
# See TyFamPlugin.hs for a description of this plugin.
test('TcPlugin_TyFam'
, [ extra_files(
[ 'Definitions.hs'
, 'Common.hs'
, 'TyFamPlugin.hs'
, 'TcPlugin_TyFam.hs'
])
]
, multi_compile
, [ 'TcPlugin_TyFam.hs'
, [ ('Definitions.hs', '')
, ('Common.hs', '')
, ('TyFamPlugin.hs', '')
]
,'-dynamic -package ghc' if have_dynamic() else '-package ghc']
)
# See RewritePlugin.hs for a description of this plugin.
test('TcPlugin_Rewrite'
, [ extra_files(
[ 'Definitions.hs'
, 'Common.hs'
, 'RewritePlugin.hs'
, 'TcPlugin_Rewrite.hs'
])
]
, multi_compile
, [ 'TcPlugin_Rewrite.hs'
, [ ('Definitions.hs', '')
, ('Common.hs', '')
, ('RewritePlugin.hs', '')
]
,'-dynamic -package ghc' if have_dynamic() else '-package ghc']
)
# See RewritePerfPlugin.hs for a description of this plugin.
test('TcPlugin_RewritePerf'
, [ extra_files(
[ 'RewritePerfDefs.hs'
, 'RewritePerfPlugin.hs'
, 'TcPlugin_RewritePerf.hs'
])
, only_ways(['normal'])
, collect_compiler_stats('bytes allocated', 1)
, high_memory_usage
]
, multi_compile_fail
, [ 'TcPlugin_RewritePerf.hs'
, [ ('RewritePerfDefs.hs', '')
, ('RewritePerfPlugin.hs', '')
]
,'-dynamic -package ghc' if have_dynamic() else '-package ghc']
)
|