()
| 226 | |
| 227 | |
| 228 | def compile_cpp_pie_app(): |
| 229 | targets = [] |
| 230 | vertex_map_templates = [ |
| 231 | "vineyard::ArrowVertexMap<{},{}>", |
| 232 | "vineyard::ArrowLocalVertexMap<{},{}>", |
| 233 | ] |
| 234 | |
| 235 | lv = vertex_map_templates[0].format(internal_type("int64_t"), "uint64_t") |
| 236 | sv = vertex_map_templates[0].format(internal_type("std::string"), "uint64_t") |
| 237 | |
| 238 | # 1. arrow fragment |
| 239 | property_template = "vineyard::ArrowFragment<{},{},{},false>" |
| 240 | |
| 241 | lu = property_template.format("int64_t", "uint64_t", lv) |
| 242 | su = property_template.format("std::string", "uint64_t", sv) |
| 243 | # no builtin app can run on the arrow property graph |
| 244 | |
| 245 | # 2. projected arrow fragment |
| 246 | project_template = "gs::ArrowProjectedFragment<{},{},{},{},{},false>" |
| 247 | psuee = project_template.format( |
| 248 | "std::string", "uint64_t", "grape::EmptyType", "grape::EmptyType", sv |
| 249 | ) |
| 250 | psuel = project_template.format( |
| 251 | "std::string", "uint64_t", "grape::EmptyType", "int64_t", sv |
| 252 | ) |
| 253 | psued = project_template.format( |
| 254 | "std::string", "uint64_t", "grape::EmptyType", "double", sv |
| 255 | ) |
| 256 | psull = project_template.format("std::string", "uint64_t", "int64_t", "int64_t", sv) |
| 257 | psusl = project_template.format( |
| 258 | "std::string", "uint64_t", "std::string", "int64_t", sv |
| 259 | ) |
| 260 | psusu = project_template.format( |
| 261 | "std::string", "uint64_t", "std::string", "uint64_t", sv |
| 262 | ) |
| 263 | |
| 264 | plull = project_template.format("int64_t", "uint64_t", "int64_t", "int64_t", lv) |
| 265 | pluee = project_template.format( |
| 266 | "int64_t", "uint64_t", "grape::EmptyType", "grape::EmptyType", lv |
| 267 | ) |
| 268 | pluel = project_template.format( |
| 269 | "int64_t", "uint64_t", "grape::EmptyType", "int64_t", lv |
| 270 | ) |
| 271 | plued = project_template.format( |
| 272 | "int64_t", "uint64_t", "grape::EmptyType", "double", lv |
| 273 | ) |
| 274 | targets.extend( |
| 275 | [ |
| 276 | ("pagerank", psuee), |
| 277 | ("pagerank", pluee), |
| 278 | ("pagerank", plull), |
| 279 | ("wcc", psuee, ["-DWCC_USE_GID=ON"]), |
| 280 | ("wcc", psuel, ["-DWCC_USE_GID=ON"]), |
| 281 | ("wcc", psued, ["-DWCC_USE_GID=ON"]), |
| 282 | ("wcc", psull, ["-DWCC_USE_GID=ON"]), |
| 283 | ("wcc", psusl, ["-DWCC_USE_GID=ON"]), |
| 284 | ("wcc", psusu, ["-DWCC_USE_GID=ON"]), |
| 285 | ("wcc", plull), |
no test coverage detected