Skip to content

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Jan 7, 2025

Closes #15031

This adds musl binaries for the Standalone CLI on Linux aarch64 (ARM 64-bit) and x86_64 (Intel/AMD 64-bit).

I tested this by temporarily running the release workflow (without publishing) to build the Standalone CLI, downloading the artifacts, and running the musl binaries in two docker containers.

linux-arm64-musl

linux-x64-musl

(sorry for the potato screenshot — tested x64 through my AMD Windows machine over parsec)

@thecrypticace thecrypticace force-pushed the feat/v4-linux-musl branch 3 times, most recently from 4d64ba4 to c6cb9a9 Compare January 8, 2025 20:10
We have separate MUSL binaries so there’s no longer a reason for us to bundle GLIBC and MUSL node addons
It fixes building Musl standalone binaries
@thecrypticace thecrypticace force-pushed the feat/v4-linux-musl branch 2 times, most recently from b4f4e38 to 4b03b20 Compare January 8, 2025 21:35
@thecrypticace thecrypticace marked this pull request as ready for review January 8, 2025 21:35
@thecrypticace thecrypticace requested a review from a team as a code owner January 8, 2025 21:35
Copy link
Member

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Schweet

Copy link
Member

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually need to add this here as well: https://github.com/tailwindlabs/tailwindcss/blob/next/.github/workflows/release.yml#L265-L271. If you comment out the npm release part it should be fine to run the release pipeline in this PR too and we can test the artifacts that are uploaded to the run.

@thecrypticace
Copy link
Contributor Author

thecrypticace commented Jan 9, 2025

Are we sure that it's fine? I've had the release workflow overwrite / replace an existing release before unintentionally.

edit: I made a copy of the release notes / binaries in case something goes awry.

@thecrypticace
Copy link
Contributor Author

verified all is good:

Screenshot 2025-01-09 at 09 18 19

@thecrypticace thecrypticace merged commit a3aec17 into next Jan 9, 2025
10 checks passed
@thecrypticace thecrypticace deleted the feat/v4-linux-musl branch January 9, 2025 14:24
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.

[v4] Musl/Alpine is not supported in the V4 prereleases

2 participants