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

Update to dist 0.26 and build on Alma 8 #953

Merged
merged 2 commits into from
Dec 19, 2024
Merged

Update to dist 0.26 and build on Alma 8 #953

merged 2 commits into from
Dec 19, 2024

Conversation

wfchandler
Copy link
Contributor

Our linux-gnu builds use the default Ubuntu 20.04 runner image. This uses a glibc version more recent than RHEL 8-derived distros, making this copy of the binary unusable on those systems. While CentOS 8 was EOL'd in 2021, RHEL 8 and its clones like Rocky 8 will still be updated until 2029, and we have customers using these distros today. The musl build does work on RHEL 8, but we've encountered some issues with their getaddrinfo(3) implementation that make this alternative a poor experience for users.

Update to dist v0.26, which moves its configuration out of Cargo.toml and into a separate dist-workspace.toml file. Also update the linux-gnu target to run in an Alma Linux 8 container using a Python manylinux image intended for building widely compatible binaries.

Our linux-gnu builds use the default Ubuntu 20.04 runner image. This
uses a glibc version more recent than RHEL 8-derived distros, making
this copy of the binary unusable on those systems. While CentOS 8 was
EOL'd in 2021, RHEL 8 and its clones like Rocky 8 will still be updated
until 2029, and we have customers using these distros today. The musl
build does work on RHEL 8, but we've encountered some issues with their
getaddrinfo(3) implementation that make this alternative a poor
experience for users.

Update to `dist` v0.26, which moves its configuration out of
`Cargo.toml` and into a separate `dist-workspace.toml` file. Also update
the linux-gnu target to run in an Alma Linux 8 container using a Python
manylinux[0] image intended for building widely compatible binaries.

[0] https://github.com/pypa/manylinux
@wfchandler wfchandler requested a review from ahl December 19, 2024 15:43
@ahl
Copy link
Collaborator

ahl commented Dec 19, 2024

Is there customization beyond running cargo dist?

manylinux is hosted on quay.io, not dockerhub.
@wfchandler
Copy link
Contributor Author

Is there customization beyond running cargo dist?

No, the config changes in this PR, other than setting the container, were all autogenerated by cargo dist init.

@wfchandler wfchandler merged commit af9e0a8 into main Dec 19, 2024
16 checks passed
@wfchandler wfchandler deleted the wc/dist-rocky8 branch December 19, 2024 16:15
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