Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions recipes/arrow/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"25.0.0":
url: "https://www.apache.org/dyn/closer.lua/arrow/arrow-25.0.0/apache-arrow-25.0.0.tar.gz?action=download"
sha256: "12afc2dc8137bdd4a68876cec939f664c9d55cfc7b75f55b45163ebb4e344d81"
"24.0.0":
url: "https://www.apache.org/dyn/closer.lua/arrow/arrow-24.0.0/apache-arrow-24.0.0.tar.gz?action=download"
sha256: "9a8094d24fa33b90c672ab77fdda253f29300c8b0dd3f0b8e55a29dbd98b82c9"
Expand Down
7 changes: 6 additions & 1 deletion recipes/arrow/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def requirements(self):
if self.options.with_snappy:
self.requires("snappy/1.1.9")
if self.options.simd_level != "disabled" or self.options.runtime_simd_level != "disabled":
self.requires("xsimd/14.0.0")
self.requires("xsimd/14.2.0")
if self.options.with_zlib:
self.requires("zlib/[>=1.2.11 <2]")
if self.options.with_zstd:
Expand Down Expand Up @@ -269,6 +269,11 @@ def validate(self):
if self.options.parquet and not self.options.with_thrift:
raise ConanInvalidConfiguration("arrow:parquet requires arrow:with_thrift")

if (Version(self.version) >= "25.0.0" and self.options.simd_level == "disabled" and self.options.runtime_simd_level == "disabled"):
# arrow >= 25.0.0 always resolves xsimd for CpuInfo, even when SIMD is disabled
# see: https://github.com/apache/arrow/blob/apache-arrow-25.0.0/cpp/cmake_modules/ThirdpartyToolchain.cmake#L2848-L2855
raise ConanInvalidConfiguration("arrow >= 25.0.0 always requires xsimd")

def build_requirements(self):
if self.options.with_protobuf:
self.tool_requires("protobuf/<host_version>")
Expand Down
2 changes: 2 additions & 0 deletions recipes/arrow/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"25.0.0":
folder: all
"24.0.0":
folder: all
"23.0.1":
Expand Down