Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-44465: [GLib][C++] Meson searches libraries with specific versions. (
#44475) ### Rationale for this change This PR fixes #44465. Meson selects incorrect Arrow C++ libraries in some situations. ### What changes are included in this PR? Meson searches arrow libraries with particular versions. For example, if the c_glib version number is 18.0.0-SNAPSHOT, Meson searches the Arrow C++ library greater than 18.0.0-SNAPSHOT. ### Are these changes tested? Yes. If the required version libraries exist, install it properly. ``` Run-time dependency arrow found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-compute found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-csv found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-filesystem found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-json found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-orc found: YES 18.0.0-SNAPSHOT Found CMake: /opt/homebrew/bin/cmake (3.30.5) WARNING: CMake Toolchain: Failed to determine CMake compilers state Run-time dependency arrow-cuda found: NO (tried pkgconfig, framework and cmake) Run-time dependency arrow-acero found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-dataset found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-flight found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-flight-sql found: YES 18.0.0-SNAPSHOT Run-time dependency gandiva found: YES 18.0.0-SNAPSHOT Run-time dependency parquet found: YES 18.0.0-SNAPSHOT ``` If an environment doesn't install Arrow C++ 18.0.0-SNAPSHOT (Installed older version 17.0.0) ``` Run-time dependency arrow found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-compute found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-csv found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-filesystem found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-json found: YES 18.0.0-SNAPSHOT Run-time dependency arrow-orc found: YES 18.0.0-SNAPSHOT Found CMake: /opt/homebrew/bin/cmake (3.30.5) WARNING: CMake Toolchain: Failed to determine CMake compilers state Run-time dependency arrow-cuda found: NO (tried pkgconfig, framework and cmake) Run-time dependency arrow-acero found: YES 18.0.0-SNAPSHOT Dependency arrow-dataset found: NO. Found 17.0.0 but need: '>=18.0.0-SNAPSHOT' Run-time dependency arrow-dataset found: NO (tried pkgconfig, framework and cmake) Dependency arrow-flight found: NO. Found 17.0.0 but need: '>=18.0.0-SNAPSHOT' Run-time dependency arrow-flight found: NO (tried pkgconfig, framework and cmake) Dependency arrow-flight-sql found: NO. Found 17.0.0 but need: '>=18.0.0-SNAPSHOT' Run-time dependency arrow-flight-sql found: NO (tried pkgconfig, framework and cmake) Dependency gandiva found: NO. Found 17.0.0 but need: '>=18.0.0-SNAPSHOT' ... Dependency parquet found: NO. Found 17.0.0 but need: '>=18.0.0-SNAPSHOT' Run-time dependency parquet found: NO (tried pkgconfig and framework) ``` ### Are there any user-facing changes? Yes. * GitHub Issue: #44465 Authored-by: Hiroyuki Sato <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
- Loading branch information