Skip to content

Conversation

@teo-tsirpanis
Copy link
Member

This PR stops passing -EnableStaticTileDB on the Windows release workflow, which means that the release artifacts will include include only the dynamic library, like on other platforms. The size of these artifacts on Windows drops from 175MB to just 7MB.

Users that want to statically link to TileDB will have to build it themselves. TileDB-Java used to do that until TileDB-Inc/TileDB-Java#314, and according to a search of the TileDB::tiledb_static string on public non-archived and non-forked repositories, none of these uses would be broken.

Note

TileDB-R links statically on Windows as well but it does not use these artifacts so it will not be affected.


TYPE: BREAKING_BEHAVIOR
DESC: The Windows release artifacts no longer include static libraries.

@KiterLuc KiterLuc merged commit af3cbf8 into dev Oct 31, 2023
@KiterLuc KiterLuc deleted the build-teo-windows-static-release branch October 31, 2023 15:27
github-actions bot pushed a commit that referenced this pull request Nov 1, 2023
This PR stops passing `-EnableStaticTileDB` on the Windows release
workflow, which means that the release artifacts will include include
only the dynamic library, like on other platforms. The size of these
artifacts on Windows drops from 175MB [to just
7MB](https://dev.azure.com/TileDB-Inc/CI/_build/results?buildId=35970&view=artifacts&pathAsName=false&type=publishedArtifacts).

Users that want to statically link to TileDB will have to build it
themselves. TileDB-Java used to do that until
TileDB-Inc/TileDB-Java#314, and according to [a
search](https://github.com/search?q=TileDB%3A%3Atiledb_static++NOT+is%3Aarchived+NOT+is%3Afork&type=code)
of the `TileDB::tiledb_static` string on public non-archived and
non-forked repositories, none of these uses would be broken.

> [!NOTE]
> TileDB-R links statically on Windows as well but it does not use these
artifacts so it will not be affected.

---
TYPE: BREAKING_BEHAVIOR
DESC: The Windows release artifacts no longer include static libraries.

(cherry picked from commit af3cbf8)
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.

4 participants