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

Build against glibc 2.26 #41

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

illicitonion
Copy link
Collaborator

@illicitonion illicitonion commented Sep 10, 2024

Previously we were building against glibc 2.26.

amazonlinux 2 has 2.26, and we have users wanting to use this, so let's
jump back a couple of glibcs to support them.

Another advantage here is that amazonlinux maintains yum working out
of the box, rather than needing to configure mirrors.

A down-side is that the node version used by the checkout action
links a newer glibc than 2.26. For now we activate a hatch to revert to
an older node, but in the future we may need to work around another way,
e.g. by manually checking out the source ourselves instead of relying on
the actions action which relies on node.

@illicitonion illicitonion force-pushed the amazonlinux branch 4 times, most recently from 82e240a to 51c0bf0 Compare September 10, 2024 16:02
Previously we were building against glibc 2.26.

amazonlinux 2 has 2.26, and we have users wanting to use this, so let's
jump back a couple of glibcs to support them.

Another advantage here is that amazonlinux maintains `yum` working out
of the box, rather than needing to configure mirrors.

A down-side is that the `node` version used by the `checkout` action
links a newer glibc than 2.26. For now we activate a hatch to revert to
an older node, but in the future we may need to work around another way,
e.g. by manually checking out the source ourselves instead of relying on
the actions action which relies on node. We also now perform container
set-up before the checkout action, so we can set up the tools it assumes
(e.g. `tar`)
Copy link
Member

@fmeum fmeum left a comment

Choose a reason for hiding this comment

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

Could we just link against musl? 😅

@illicitonion illicitonion merged commit fccbaa6 into bazel-contrib:main Sep 10, 2024
13 checks passed
@illicitonion illicitonion deleted the amazonlinux branch September 10, 2024 18:57
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