Skip to content

Build artifacts on ubuntu-22#561

Merged
ctz merged 2 commits intomainfrom
jbp--build-artifacts-ubuntu-22
Apr 16, 2025
Merged

Build artifacts on ubuntu-22#561
ctz merged 2 commits intomainfrom
jbp--build-artifacts-ubuntu-22

Conversation

@ctz
Copy link
Copy Markdown
Member

@ctz ctz commented Apr 16, 2025

There are comments here motivating the choice of 20.04 as being
an older (= more compatible) glibc. It is unclear whether that
is a current or vestigial requirement. (Thoughts @cpu ?)

If it's a current requirement, we can instead continue to build on ubuntu-20.04
by using docker hosted on ubuntu-latest.

ctz added 2 commits April 16, 2025 14:23
There are comments here motivating the choice of 20.04 as being
an older (= more compatible) glibc.  It is unclear whether that
is a current or vestigial requirement.
Copy link
Copy Markdown
Member

@cpu cpu left a comment

Choose a reason for hiding this comment

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

It is unclear whether that is a current or vestigial requirement. (Thoughts @cpu ?)

It's generally something that still applies in the sense that building on 22.04 will produce binaries with a higher minimum supported glibc than doing the same on 20.04.

IIRC I was just trying to make the release binaries as flexible as possible where it was convenient, and it wasn't something informed by deep research into the glibc version distribution in the wild or anything.

With that in mind it feels reasonable to me to follow the LTS deprecation that the runners are going through. If someone desperately needs support for older glibc they can always build from source.

powershell -Command "Expand-Archive -Path cargo-c-windows-msvc.zip -DestinationPath $env:USERPROFILE\\.cargo\\bin -Force"

- name: Build rusts-ffi
- name: Build rustls-ffi
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oops :-)

@ctz ctz merged commit 4dc2a12 into main Apr 16, 2025
92 checks passed
@ctz ctz deleted the jbp--build-artifacts-ubuntu-22 branch April 16, 2025 14:04
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