Skip to content
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

Use manylinux: auto for aarch64 builds #3444

Merged
merged 1 commit into from
May 9, 2024
Merged

Use manylinux: auto for aarch64 builds #3444

merged 1 commit into from
May 9, 2024

Conversation

charliermarsh
Copy link
Member

See: #3439

@charliermarsh
Copy link
Member Author

Not sure this will work. Let's try.

Comment on lines 300 to +305
with:
target: ${{ matrix.platform.target }}
# On `aarch64`, use `manylinux: 2_28`; otherwise, use `manylinux: auto`.
manylinux: ${{ matrix.platform.arch == 'aarch64' && '2_28' || 'auto' }}
manylinux: auto
Copy link
Contributor

Choose a reason for hiding this comment

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

Try this workaround:

- uses: PyO3/maturin-aciton@v1
  env:
    # Workaround ring 0.17 build issue
    CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
  with:
    manylinux: auto

Copy link
Member Author

Choose a reason for hiding this comment

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

Wow I think that worked? Thanks! Are there any limitations here? Will the wheel work as expected?

Copy link
Contributor

Choose a reason for hiding this comment

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

It should work as expected, I think the obvious limitation is that it might break in the future if ring/boringssl actually requires a newer GCC version.

@charliermarsh charliermarsh merged commit 8bcb236 into main May 9, 2024
60 checks passed
@charliermarsh charliermarsh deleted the charlie/glibc branch May 9, 2024 03:58
zanieb added a commit that referenced this pull request May 14, 2024
zanieb added a commit that referenced this pull request May 14, 2024
This reverts #3444 which appears to be the cause of SSL failures when
building aarch64 Linux images on macOS hosts (see
#3570)

Closes #3570
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.

2 participants