-
Notifications
You must be signed in to change notification settings - Fork 3
/
conanfile.py
110 lines (95 loc) · 3.67 KB
/
conanfile.py
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
from conan import ConanFile
from conan.tools.cmake import CMakeDeps
class SiloRecipe(ConanFile):
settings = "os", "compiler", "build_type", "arch"
requires = [
"boost/1.82.0",
"duckdb/0.8.1",
"poco/1.12.4",
"hwloc/2.9.3",
"onetbb/2021.10.0",
"nlohmann_json/3.11.2",
"gtest/cci.20210126",
"roaring/1.0.0",
"spdlog/1.14.1",
"yaml-cpp/0.7.0",
"zstd/1.5.5",
]
default_options = {
"yaml-cpp/*:shared": False,
"zstd/*:shared": False,
"duckdb/*:shared": False,
"duckdb/*:with_json": True,
"duckdb/*:with_parquet": True,
"roaring/*:shared": False,
"gtest/*:no_main": True,
"boost/*:lzma": True,
"boost/*:zstd": True,
"boost/*:shared": False,
"hwloc/*:shared": False,
"boost/*:without_iostreams": False,
"boost/*:without_serialization": False,
"boost/*:without_system": False,
"boost/*:without_random": False,
"boost/*:without_regex": False,
"boost/*:without_atomic": True,
"boost/*:without_chrono": True,
"boost/*:without_container": True,
"boost/*:without_context": True,
"boost/*:without_contract": True,
"boost/*:without_coroutine": True,
"boost/*:without_date_time": True,
"boost/*:without_exception": True,
"boost/*:without_fiber": True,
"boost/*:without_filesystem": True,
"boost/*:without_graph": True,
"boost/*:without_graph_parallel": True,
"boost/*:without_json": True,
"boost/*:without_locale": True,
"boost/*:without_log": True,
"boost/*:without_math": True,
"boost/*:without_mpi": True,
"boost/*:without_nowide": True,
"boost/*:without_program_options": True,
"boost/*:without_python": True,
"boost/*:without_stacktrace": True,
"boost/*:without_test": True,
"boost/*:without_thread": True,
"boost/*:without_timer": True,
"boost/*:without_type_erasure": True,
"boost/*:without_wave": True,
"poco/*:shared": False,
"poco/*:enable_json": True,
"poco/*:enable_net": True,
"poco/*:enable_util": True,
"poco/*:enable_crypto": False,
"poco/*:enable_activerecord": False,
"poco/*:enable_active_record": False,
"poco/*:enable_data": False,
"poco/*:enable_data_mysql": False,
"poco/*:enable_data_postgresql": False,
"poco/*:enable_data_sqlite": False,
"poco/*:enable_encodings": False,
"poco/*:enable_jwt": False,
"poco/*:enable_mongodb": False,
"poco/*:enable_netssl": False,
"poco/*:enable_redis": False,
"poco/*:enable_xml": False,
"poco/*:enable_zip": False,
}
def generate(self):
deps = CMakeDeps(self)
deps.set_property("boost", "cmake_find_mode", "both")
deps.set_property("duckdb", "cmake_find_mode", "both")
deps.set_property("fmt", "cmake_find_mode", "both")
deps.set_property("gtest", "cmake_find_mode", "both")
deps.set_property("hwloc", "cmake_find_mode", "both")
deps.set_property("nlohmann_json", "cmake_find_mode", "both")
deps.set_property("onetbb", "cmake_find_mode", "both")
deps.set_property("pcre2", "cmake_find_mode", "both")
deps.set_property("poco", "cmake_find_mode", "both")
deps.set_property("roaring", "cmake_find_mode", "both")
deps.set_property("spdlog", "cmake_find_mode", "both")
deps.set_property("yaml-cpp", "cmake_find_mode", "both")
deps.set_property("zstd", "cmake_find_mode", "both")
deps.generate()