-
Notifications
You must be signed in to change notification settings - Fork 185
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
Reintroduce TILEDB_STATIC
under a deprecation warning.
#4732
Conversation
cmake/Options/BuildOptions.cmake
Outdated
@@ -40,6 +40,15 @@ option(CMAKE_EXPORT_COMPILE_COMMANDS "cmake compile commands" ON) | |||
|
|||
set(TILEDB_INSTALL_LIBDIR "" CACHE STRING "If non-empty, install TileDB library to this directory instead of CMAKE_INSTALL_LIBDIR.") | |||
|
|||
if (DEFINED TILEDB_STATIC) | |||
message(DEPRECATION "TILEDB_STATIC is deprecated and will be removed in a future version. Use BUILD_SHARED_LIBS INSTEAD. Building both static and shared libraries is no longer available.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should say which version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"2.28 (third quarter of 2024)" seems reasonable. We should consider doing the update PRs ourselves for obvious public projects (freebsd and mingw-w64 at least).
The bootstrap scripts don't need any changes, they still support these options and emit warnings if specified. |
cmake/Options/BuildOptions.cmake
Outdated
@@ -40,6 +40,15 @@ option(CMAKE_EXPORT_COMPILE_COMMANDS "cmake compile commands" ON) | |||
|
|||
set(TILEDB_INSTALL_LIBDIR "" CACHE STRING "If non-empty, install TileDB library to this directory instead of CMAKE_INSTALL_LIBDIR.") | |||
|
|||
if (DEFINED TILEDB_STATIC) | |||
message(DEPRECATION "TILEDB_STATIC is deprecated and will be removed in a future version. Use BUILD_SHARED_LIBS INSTEAD. Building both static and shared libraries is no longer available.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"2.28 (third quarter of 2024)" seems reasonable. We should consider doing the update PRs ourselves for obvious public projects (freebsd and mingw-w64 at least).
--- TYPE: BUILD DESC: Reintroduce the `TILEDB_STATIC` option under a deprecation warning. (cherry picked from commit 14e99dd)
…on warning. (#4732) (#4738) Backport 14e99dd from #4732. --- TYPE: BUILD DESC: Reintroduce the `TILEDB_STATIC` option under a deprecation warning. Co-authored-by: Theodore Tsirpanis <[email protected]>
TYPE: BUILD
DESC: Reintroduce the
TILEDB_STATIC
option under a deprecation warning.