@@ -8,9 +8,10 @@ class SiloRecipe(ConanFile):
88 requires = [
99 "arrow/22.0.0" ,
1010 "boost/1.85.0" ,
11- "poco/1.13.3" ,
12- "nlohmann_json/3.12.0" ,
1311 "gtest/1.16.0" ,
12+ "mimalloc/2.2.4" ,
13+ "nlohmann_json/3.12.0" ,
14+ "poco/1.13.3" ,
1415 "re2/20240702" ,
1516 "roaring/4.2.1" ,
1617 "simdjson/3.12.3" ,
@@ -22,6 +23,7 @@ class SiloRecipe(ConanFile):
2223 default_options = {
2324 "abseil/*:shared" : False ,
2425
26+ "arrow/*:with_mimalloc" : False ,
2527 "arrow/*:compute" : True ,
2628 "arrow/*:acero" : True ,
2729
@@ -65,6 +67,9 @@ class SiloRecipe(ConanFile):
6567
6668 "hwloc/*:shared" : False ,
6769
70+ # this statically overrides the `malloc` symbol to use mimalloc
71+ "mimalloc/*:override" : True ,
72+
6873 "poco/*:shared" : False ,
6974 "poco/*:enable_json" : True ,
7075 "poco/*:enable_net" : True ,
@@ -104,6 +109,7 @@ def generate(self):
104109 deps .set_property ("boost" , "cmake_find_mode" , "both" )
105110 deps .set_property ("gtest" , "cmake_find_mode" , "both" )
106111 deps .set_property ("hwloc" , "cmake_find_mode" , "both" )
112+ deps .set_property ("mimalloc" , "cmake_find_mode" , "both" )
107113 deps .set_property ("nlohmann_json" , "cmake_find_mode" , "both" )
108114 deps .set_property ("pcre2" , "cmake_find_mode" , "both" )
109115 deps .set_property ("poco" , "cmake_find_mode" , "both" )
0 commit comments