-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCMakeLists.txt
executable file
·201 lines (181 loc) · 8.5 KB
/
CMakeLists.txt
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
###
### SharedObjects
###
# compile all the objects
file(GLOB files "${PROJECT_SOURCE_DIR}/applications/StandardTPCHBench/sharedLibraries/source/*.cc")
foreach(file ${files})
get_filename_component(fileName "${file}" NAME_WE)
add_library(${fileName} MODULE ${file})
target_link_libraries(${fileName} pdb-shared-common)
target_link_libraries(${fileName} ${GSL_LIBRARIES})
add_dependencies(shared-libraries ${fileName})
endforeach()
# create the target
add_pdb_application(tpchDataLoader)
add_pdb_application(tpchDataPartitioner)
add_pdb_application(RunQuery01)
add_pdb_application(RunQuery02)
add_pdb_application(RunQuery03)
add_pdb_application(RunQuery04)
add_pdb_application(RunQuery06)
add_pdb_application(RunQuery12)
add_pdb_application(RunQuery13)
add_pdb_application(RunQuery14)
add_pdb_application(RunQuery17)
add_pdb_application(RunQuery22)
add_dependencies(build-standard-tpch-tests tpchDataLoader)
add_dependencies(tpchDataLoader TPCHCustomer)
add_dependencies(tpchDataLoader TPCHLineItem)
add_dependencies(tpchDataLoader MinDouble)
add_dependencies(tpchDataLoader TPCHNation)
add_dependencies(tpchDataLoader TPCHOrder)
add_dependencies(tpchDataLoader TPCHPart)
add_dependencies(tpchDataLoader TPCHPartSupp)
add_dependencies(tpchDataLoader Q01Agg)
add_dependencies(tpchDataLoader Q01AggOut)
add_dependencies(tpchDataLoader Q01KeyClass)
add_dependencies(tpchDataLoader Q01ValueClass)
add_dependencies(tpchDataLoader Q02MinAgg)
add_dependencies(tpchDataLoader Q02MinCostJoin)
add_dependencies(tpchDataLoader Q02MinCostJoinOutput)
add_dependencies(tpchDataLoader Q02MinCostPerTPCHPart)
add_dependencies(tpchDataLoader Q02MinCostSelection)
add_dependencies(tpchDataLoader Q02MinCostSelectionOutput)
add_dependencies(tpchDataLoader Q02TPCHNationJoin)
add_dependencies(tpchDataLoader Q02TPCHPartJoin)
add_dependencies(tpchDataLoader Q02TPCHPartJoinOutput)
add_dependencies(tpchDataLoader Q02TPCHPartJoinOutputIdentitySelection)
add_dependencies(tpchDataLoader Q02TPCHPartSelection)
add_dependencies(tpchDataLoader Q02TPCHPartSuppJoin)
add_dependencies(tpchDataLoader Q02TPCHPartSuppJoinOutput)
add_dependencies(tpchDataLoader Q02TPCHRegionSelection)
add_dependencies(tpchDataLoader Q02TPCHSupplierJoin)
add_dependencies(tpchDataLoader Q02TPCHSupplierJoinOutput)
add_dependencies(tpchDataLoader Q03Agg)
add_dependencies(tpchDataLoader Q03AggOut)
add_dependencies(tpchDataLoader Q03TPCHCustomerSelection)
add_dependencies(tpchDataLoader Q03Join)
add_dependencies(tpchDataLoader Q03JoinOut)
add_dependencies(tpchDataLoader Q03KeyClass)
add_dependencies(tpchDataLoader Q03TPCHLineItemSelection)
add_dependencies(tpchDataLoader Q03TPCHOrderSelection)
add_dependencies(tpchDataLoader Q04Agg)
add_dependencies(tpchDataLoader Q04AggOut)
add_dependencies(tpchDataLoader Q04Join)
add_dependencies(tpchDataLoader Q04TPCHOrderSelection)
add_dependencies(tpchDataLoader Q06Agg)
add_dependencies(tpchDataLoader Q06TPCHLineItemSelection)
add_dependencies(tpchDataLoader Q12Agg)
add_dependencies(tpchDataLoader Q12AggOut)
add_dependencies(tpchDataLoader Q12Join)
add_dependencies(tpchDataLoader Q12JoinOut)
add_dependencies(tpchDataLoader Q12TPCHLineItemSelection)
add_dependencies(tpchDataLoader Q12ValueClass)
add_dependencies(tpchDataLoader Q13CountResult)
add_dependencies(tpchDataLoader Q13TPCHCustomerDistribution)
add_dependencies(tpchDataLoader Q13TPCHCustomerTPCHOrderJoin)
add_dependencies(tpchDataLoader Q13TPCHCustomerTPCHOrders)
add_dependencies(tpchDataLoader Q13TPCHOrderSelection)
add_dependencies(tpchDataLoader Q13TPCHOrdersPerTPCHCustomer)
add_dependencies(tpchDataLoader Q14Agg)
add_dependencies(tpchDataLoader Q14AggOut)
add_dependencies(tpchDataLoader Q14Join)
add_dependencies(tpchDataLoader Q14JoinOut)
add_dependencies(tpchDataLoader Q14TPCHLineItemSelection)
add_dependencies(tpchDataLoader Q14ValueClass)
add_dependencies(tpchDataLoader Q17JoinedTPCHPartTPCHLineItem)
add_dependencies(tpchDataLoader Q17TPCHLineItemAvgQuantity)
add_dependencies(tpchDataLoader Q17TPCHPartTPCHLineItemAvgJoin)
add_dependencies(tpchDataLoader Q17TPCHPartTPCHLineItemIdentitySelection)
add_dependencies(tpchDataLoader Q17TPCHPartTPCHLineItemJoin)
add_dependencies(tpchDataLoader Q17TPCHPartSelection)
add_dependencies(tpchDataLoader Q17PriceSum)
add_dependencies(tpchDataLoader Q22AggregatedCntryBal)
add_dependencies(tpchDataLoader Q22CntryBalAgg)
add_dependencies(tpchDataLoader Q22CntryBalJoin)
add_dependencies(tpchDataLoader Q22TPCHCustomerAccbalAvg)
add_dependencies(tpchDataLoader Q22JoinedCntryBal)
add_dependencies(tpchDataLoader Q22TPCHOrderCountPerTPCHCustomer)
add_dependencies(tpchDataLoader Q22TPCHOrderCountSelection)
add_dependencies(tpchDataLoader TPCHRegion)
add_dependencies(tpchDataLoader TPCHSupplier)
add_dependencies(build-standard-tpch-tests tpchDataPartitioner)
add_dependencies(tpchDataPartitioner TPCHLineItem)
add_dependencies(tpchDataPartitioner LineItemPartitionComp)
add_dependencies(tpchDataPartitioner LineItemPartitionTransformationComp)
add_dependencies(build-standard-tpch-tests RunQuery01)
add_dependencies(RunQuery01 Q01Agg)
add_dependencies(RunQuery01 Q01AggOut)
add_dependencies(RunQuery01 Q01KeyClass)
add_dependencies(RunQuery01 Q01ValueClass)
add_dependencies(build-standard-tpch-tests RunQuery02)
add_dependencies(RunQuery02 Q02MinAgg)
add_dependencies(RunQuery02 Q02MinCostJoin)
add_dependencies(RunQuery02 Q02MinCostJoinOutput)
add_dependencies(RunQuery02 Q02MinCostPerTPCHPart)
add_dependencies(RunQuery02 Q02MinCostSelection)
add_dependencies(RunQuery02 Q02MinCostSelectionOutput)
add_dependencies(RunQuery02 Q02TPCHNationJoin)
add_dependencies(RunQuery02 Q02TPCHPartJoin)
add_dependencies(RunQuery02 Q02TPCHPartJoinOutput)
add_dependencies(RunQuery02 Q02TPCHPartJoinOutputIdentitySelection)
add_dependencies(RunQuery02 Q02TPCHPartSelection)
add_dependencies(RunQuery02 Q02TPCHPartSuppJoin)
add_dependencies(RunQuery02 Q02TPCHPartSuppJoinOutput)
add_dependencies(RunQuery02 Q02TPCHRegionSelection)
add_dependencies(RunQuery02 Q02TPCHSupplierJoin)
add_dependencies(RunQuery02 Q02TPCHSupplierJoinOutput)
add_dependencies(build-standard-tpch-tests RunQuery03)
add_dependencies(RunQuery03 Q03Agg)
add_dependencies(RunQuery03 Q03AggOut)
add_dependencies(RunQuery03 Q03TPCHCustomerSelection)
add_dependencies(RunQuery03 Q03Join)
add_dependencies(RunQuery03 Q03JoinOut)
add_dependencies(RunQuery03 Q03KeyClass)
add_dependencies(RunQuery03 Q03TPCHLineItemSelection)
add_dependencies(RunQuery03 Q03TPCHOrderSelection)
add_dependencies(build-standard-tpch-tests RunQuery04)
add_dependencies(RunQuery04 Q04Agg)
add_dependencies(RunQuery04 Q04AggOut)
add_dependencies(RunQuery04 Q04Join)
add_dependencies(RunQuery04 Q04TPCHOrderSelection)
add_dependencies(build-standard-tpch-tests RunQuery06)
add_dependencies(RunQuery06 Q06Agg)
add_dependencies(RunQuery06 Q06TPCHLineItemSelection)
add_dependencies(build-standard-tpch-tests RunQuery12)
add_dependencies(RunQuery12 Q12Agg)
add_dependencies(RunQuery12 Q12AggOut)
add_dependencies(RunQuery12 Q12Join)
add_dependencies(RunQuery12 Q12JoinOut)
add_dependencies(RunQuery12 Q12TPCHLineItemSelection)
add_dependencies(RunQuery12 Q12ValueClass)
add_dependencies(build-standard-tpch-tests RunQuery13)
add_dependencies(RunQuery13 Q13CountResult)
add_dependencies(RunQuery13 Q13TPCHCustomerDistribution)
add_dependencies(RunQuery13 Q13TPCHCustomerTPCHOrderJoin)
add_dependencies(RunQuery13 Q13TPCHCustomerTPCHOrders)
add_dependencies(RunQuery13 Q13TPCHOrderSelection)
add_dependencies(RunQuery13 Q13TPCHOrdersPerTPCHCustomer)
add_dependencies(build-standard-tpch-tests RunQuery14)
add_dependencies(RunQuery14 Q14Agg)
add_dependencies(RunQuery14 Q14AggOut)
add_dependencies(RunQuery14 Q14Join)
add_dependencies(RunQuery14 Q14JoinOut)
add_dependencies(RunQuery14 Q14TPCHLineItemSelection)
add_dependencies(RunQuery14 Q14ValueClass)
add_dependencies(build-standard-tpch-tests RunQuery17)
add_dependencies(RunQuery17 Q17JoinedTPCHPartTPCHLineItem)
add_dependencies(RunQuery17 Q17TPCHLineItemAvgQuantity)
add_dependencies(RunQuery17 Q17TPCHPartTPCHLineItemAvgJoin)
add_dependencies(RunQuery17 Q17TPCHPartTPCHLineItemIdentitySelection)
add_dependencies(RunQuery17 Q17TPCHPartTPCHLineItemJoin)
add_dependencies(RunQuery17 Q17TPCHPartSelection)
add_dependencies(RunQuery17 Q17PriceSum)
add_dependencies(build-standard-tpch-tests RunQuery22)
add_dependencies(RunQuery22 Q22AggregatedCntryBal)
add_dependencies(RunQuery22 Q22CntryBalAgg)
add_dependencies(RunQuery22 Q22CntryBalJoin)
add_dependencies(RunQuery22 Q22TPCHCustomerAccbalAvg)
add_dependencies(RunQuery22 Q22JoinedCntryBal)
add_dependencies(RunQuery22 Q22TPCHOrderCountPerTPCHCustomer)
add_dependencies(RunQuery22 Q22TPCHOrderCountSelection)