Closed LinZhihao-723 closed 1 week ago
The changes introduce enhancements to the FindMariaDBClient.cmake
module, specifically to improve the detection of the MariaDB client library on macOS systems. A new conditional block has been added to check for the mariadbclient_PKGCONF_FOUND
variable and, if it is not set, to retrieve the installation prefix using Homebrew. The script updates the CMAKE_PREFIX_PATH
and attempts to check for the package configuration again. If the library is still not found, a fatal error message is generated to improve error handling.
File Path | Change Summary |
---|---|
components/core/cmake/Modules/FindMariaDBClient.cmake | Enhanced detection logic for the MariaDB client library on macOS, including checks for mariadbclient_PKGCONF_FOUND and retrieval of installation prefix via Homebrew. Improved error handling with a fatal error message if the library is not found. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Recent macOS build workflow failed due to the version bump of
mariadb-connector-c
: https://github.com/y-scope/clp/actions/runs/11760063129 The detailed log message:This PR fixes the issue by changing the cmake file to detect
mariadb-connector-c
's homebrew path on macOS ifPkgConfig
failed to locate mariadb client.Validation performed
mariadb-connector-c
Summary by CodeRabbit
New Features
Bug Fixes