-
-
Notifications
You must be signed in to change notification settings - Fork 218
Add support for aarch64 musl #569
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
base: main
Are you sure you want to change the base?
Conversation
235cded
to
190ba74
Compare
The failure is
which is unsurprising |
Do we know when is likely to be released? currently blocking running on latest arm64 on mac and inside our arm64 runner builds docker run -it --platform=linux/arm64 ghcr.io/astral-sh/uv:python3.10-alpine uv python install 3.12 |
@jakeybrown92 not anytime soon, it's non-trivial as mentioned several times (e.g., #87 (comment)). |
@zanieb fair enough.. I thought you meant the fix was non trivial. So there isn't currently any workaround when using alpine on latest arm64? |
I would use the Python versions from the distribution instead of the uv managed ones for now. |
@zanieb okay thanks. We're currently doing that but just wanted to explore UV, but don't really want to change OS. No worries. Appreciate the replies |
190ba74
to
0bad74d
Compare
0bad74d
to
2c153c4
Compare
898522a
to
7275200
Compare
7275200
to
ef57653
Compare
4544b61
to
f7b5ac1
Compare
@@ -88,6 +88,11 @@ def add_target_env(env, build_platform, target_triple, build_env): | |||
extra_host_cflags = [] | |||
extra_host_ldflags = [] | |||
|
|||
# Add compiler-rt for aarch64-musl to resolve missing builtins |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly I don't understand why we need to be explicit about this.
Without this, the bzip2 and openssl builds fail with missing symbols (it's possible more do too, I didn't play whackamole for long).
Closes #87
Does not include the
+static
variant as I was having a hard time getting the bzip2 build passing. I'll open a new issue to track that.Related #484