Skip to content

Conversation

kounelisagis
Copy link
Member

@kounelisagis kounelisagis commented Jun 3, 2025

Currently, we install tiledb_serialization.h only if the Core is built with TILEDB_SERIALIZATION enabled. This is not ideal, as it forces downstream projects to include compile-time logic to conditionally include tiledb_serialization.h. Context: TileDB-Inc/TileDB-Py#2199.

This PR updates the behavior to always install tiledb_serialization.h. The compiled binaries already always export the C APIs, which will simply fail at runtime if serialization is disabled.

Closes CORE-232


TYPE: BUILD
DESC: Install serialization C API headers regardless of build configuration.

@kounelisagis kounelisagis merged commit 874fdc5 into main Jun 3, 2025
58 checks passed
@kounelisagis kounelisagis deleted the agis/install-all-C-API-headers branch June 3, 2025 11:19
@kounelisagis
Copy link
Member Author

/backport to release-2.28

Copy link
Contributor

Started backporting to release-2.28: https://github.com/TileDB-Inc/TileDB/actions/runs/15898064881

teo-tsirpanis pushed a commit that referenced this pull request Jun 26, 2025
…s of build configuration. (#5530) (#5559)

Backport of #5530 to release-2.28

---
TYPE: IMPROVEMENT | C_API
DESC: Install serialization C API headers regardless of build
configuration.

Co-authored-by: Agisilaos Kounelis <kounelisagis@gmail.com>
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