]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake/BuildArrow: Use system xsimd when available wip-pr-65935-3-kefu wip-pr-65935-4-kefu
authorKefu Chai <k.chai@proxmox.com>
Wed, 15 Oct 2025 06:29:49 +0000 (14:29 +0800)
committerKefu Chai <k.chai@proxmox.com>
Wed, 15 Oct 2025 07:01:12 +0000 (15:01 +0800)
commitbd87bab7136f36c351875f1d0b64cbe895ba4240
tree78a4266a865d9fe13b0995a1ec143da320b835eb
parentc87bb7a6a235c798f0ea8234ca264fa60dd88641
cmake/BuildArrow: Use system xsimd when available

Arrow requires xsimd >= 9.0.1 according to arrow/cpp/thirdparty/versions.txt.
Previously, we unconditionally used the bundled xsimd version. This change
attempts to find a system xsimd package and only falls back to the bundled
version if the system package is not found or has an insufficient version.

This allows systems with libxsimd-dev >= 9.0.1 installed to use the system
package, reducing build time and dependencies.

Distribution availability:
- Ubuntu Noble (24.04): 12.1.1 (✓ sufficient)
- Ubuntu Jammy (22.04): 7.6.0 (✗ insufficient, will use bundled)
- Debian Trixie (13): 13.2.0 (✓ sufficient)

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
cmake/modules/BuildArrow.cmake