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

Reintroduce TILEDB_STATIC under a deprecation warning. #4732

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Conversation

teo-tsirpanis
Copy link
Member


TYPE: BUILD
DESC: Reintroduce the TILEDB_STATIC option under a deprecation warning.

@@ -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.")
Copy link
Member Author

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.

Copy link
Member

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).

@teo-tsirpanis
Copy link
Member Author

The bootstrap scripts don't need any changes, they still support these options and emit warnings if specified.

@teo-tsirpanis
Copy link
Member Author

@@ -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.")
Copy link
Member

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).

@KiterLuc KiterLuc merged commit 14e99dd into dev Feb 16, 2024
56 checks passed
@KiterLuc KiterLuc deleted the teo/tiledb-static branch February 16, 2024 15:55
KiterLuc pushed a commit that referenced this pull request Feb 16, 2024
---
TYPE: BUILD
DESC: Reintroduce the `TILEDB_STATIC` option under a deprecation
warning.

(cherry picked from commit 14e99dd)
KiterLuc added a commit that referenced this pull request Feb 16, 2024
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants