Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow packagers to use system Thrift library, port from #3417 [stable-23.10] #3418

Merged

Conversation

arkamar
Copy link
Contributor

@arkamar arkamar commented Feb 25, 2025

Port from #3417

The commit introduces a new CMake configuration option, WITH_THRIFT,
which accepts "auto", "system", or "bundled". In "auto" mode (the
default), the build system attempts to use the system-installed Thrift
library and falls back to the bundled version if the system library is
not available. Setting WITH_THRIFT to "system" enforces the use of the
system Thrift, causing the configuration to fail if it isn't found,
while "bundled" forces the use of the bundled version.

The change mainly useful for downstream maintainers as it gives them
flexibility over dependency management.

Downstream-issue: https://bugs.gentoo.org/949680
@mariadb-LeonidFedorov mariadb-LeonidFedorov changed the title Allow packagers to use system Thrift library, port from #3417 Allow packagers to use system Thrift library, port from #3417 [stable-23.10] Feb 28, 2025
@mariadb-LeonidFedorov mariadb-LeonidFedorov merged commit b6707dd into mariadb-corporation:stable-23.10 Feb 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants