Skip to content

Build/test/distribute linux_amd64_musl core extensions #15607

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

Merged
merged 6 commits into from
Jan 9, 2025

Conversation

carlopi
Copy link
Contributor

@carlopi carlopi commented Jan 8, 2025

Connected to #15429, adding the _musl targets to duckdb/duckdb and duckdb/extension-ci-tools#122, adding the dockerfile for building them.

After this PR extensions are built, tested and distributed for an extra platform: linux_amd64_musl.

Core extensions that are not currently blocked by build-time issues are: arrow, iceberg and mysql-scanner. jemalloc had also some problem building, so I removed it for now, but that should not be visible to users.

There are at the moment 4 tests that fail on the musl build, I have not investigated yet why, possibly we are relying on some undefined behaviour in the libc (musl might do different choices from glibc in some areas).
Given the vast majory of other tests and extensions tests looks to be working, I would consider the platform as viable BUT experimental.
This also comes with the fact that this is basically untested in the wild (= by actual users).

Unconnected, but likely to generate conflicts, by I changed the names of the repositories to align to the new duckdb-* scheme.

@carlopi carlopi changed the title Linux amd64 musl extensions linux_amd64_musl extensions Jan 8, 2025
@carlopi carlopi added the Needs Documentation Use for issues or PRs that require changes in the documentation label Jan 8, 2025
@carlopi carlopi changed the title linux_amd64_musl extensions Build/test/distribute linux_amd64_musl core extensions Jan 8, 2025
@carlopi
Copy link
Contributor Author

carlopi commented Jan 9, 2025

This is ready to go in. One change to be considered is skipping those tests on regular PRs, for now they are in given I wanted to have them run at least once, and possibly even a few time is a good idea.

@Mytherin Mytherin merged commit 1e91a53 into duckdb:main Jan 9, 2025
51 checks passed
@Mytherin
Copy link
Collaborator

Mytherin commented Jan 9, 2025

Thanks!

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Jan 9, 2025
Implement `simple_update` for `first` aggregate function (duckdb/duckdb#15619)
Build/test/distribute linux_amd64_musl core extensions (duckdb/duckdb#15607)
Improve reading duplicate column names in JSON (duckdb/duckdb#15615)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Jan 9, 2025
Implement `simple_update` for `first` aggregate function (duckdb/duckdb#15619)
Build/test/distribute linux_amd64_musl core extensions (duckdb/duckdb#15607)
Improve reading duplicate column names in JSON (duckdb/duckdb#15615)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@carlopi carlopi deleted the linux_amd64_musl_extensions branch February 4, 2025 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Documentation Use for issues or PRs that require changes in the documentation Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants