-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconanfile.py
More file actions
126 lines (106 loc) · 4.12 KB
/
conanfile.py
File metadata and controls
126 lines (106 loc) · 4.12 KB
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
from conan import ConanFile
from conan.tools.cmake import CMakeDeps
class SiloRecipe(ConanFile):
settings = "os", "compiler", "build_type", "arch"
requires = [
"arrow/22.0.0",
"boost/1.85.0",
"gtest/1.17.0",
"mimalloc/2.2.4",
"nlohmann_json/3.12.0",
"poco/1.14.2",
"re2/20240702",
"roaring/4.5.0",
"simdjson/4.2.4",
"simdutf/8.0.0",
"spdlog/1.15.1",
"yaml-cpp/0.8.0",
"zstd/1.5.7",
]
default_options = {
"abseil/*:shared": False,
"arrow/*:with_mimalloc": False,
"arrow/*:compute": True,
"arrow/*:acero": True,
"boost/*:lzma": True,
"boost/*:zstd": True,
"boost/*:shared": False,
"boost/*:without_iostreams": False,
"boost/*:without_serialization": False,
"boost/*:without_container": False,
"boost/*:without_system": False,
"boost/*:without_random": False,
"boost/*:without_regex": False,
"boost/*:without_atomic": True,
"boost/*:without_chrono": 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,
"gtest/*:no_main": True,
"hwloc/*:shared": False,
# this statically overrides the `malloc` symbol to use mimalloc
"mimalloc/*:override": 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,
"re2/*:shared": False,
"roaring/*:shared": False,
"simdjson/*:shared": False,
"simdutf/*:shared": False,
"spdlog/*:shared": False,
"yaml-cpp/*:shared": False,
"zstd/*:shared": False,
}
def generate(self):
deps = CMakeDeps(self)
deps.set_property("abseil", "cmake_find_mode", "both")
deps.set_property("boost", "cmake_find_mode", "both")
deps.set_property("gtest", "cmake_find_mode", "both")
deps.set_property("hwloc", "cmake_find_mode", "both")
deps.set_property("mimalloc", "cmake_find_mode", "both")
deps.set_property("nlohmann_json", "cmake_find_mode", "both")
deps.set_property("pcre2", "cmake_find_mode", "both")
deps.set_property("poco", "cmake_find_mode", "both")
deps.set_property("re2", "cmake_find_mode", "both")
deps.set_property("roaring", "cmake_find_mode", "both")
deps.set_property("spdlog", "cmake_find_mode", "both")
deps.set_property("simdjson", "cmake_find_mode", "both")
deps.set_property("simdutf", "cmake_find_mode", "both")
deps.set_property("yaml-cpp", "cmake_find_mode", "both")
deps.set_property("zstd", "cmake_find_mode", "both")
deps.generate()