Skip to content
New issue

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

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

Already on GitHub? # to your account

Stop including the static library when releasing on Windows. #4469

Merged
merged 1 commit into from
Oct 31, 2023

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
64 checks passed
@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)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants