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

ci: update libtinfo5 installation for Ubuntu 24.04 #401

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

rrbutani
Copy link
Collaborator

@rrbutani rrbutani commented Oct 11, 2024

As per actions/runner-images#10636 ubuntu-latest is now Ubuntu 24.04 instead of 22.04 which does not have libtinfo5 in the default PPAs.

Unfortunately all of the LLVM binary releases for Ubuntu still target 18.04 and contain binaries linked against libtinfo5 — bumping the version of LLVM we use in our tests' toolchains will not solve this problem (see below).

Pinning CI to use Ubuntu 22.04 is an option; however this PR installs libtinfo5 on the Ubuntu 24.04 runners manually instead.

@rrbutani rrbutani force-pushed the fix/ubuntu-ci branch 5 times, most recently from 9ff9dec to 4510a48 Compare October 11, 2024 19:52
As per actions/runner-images#10636
`ubuntu-latest` is now Ubuntu 24.04 instead of 22.04 which [does not]
have `libtinfo5` in the default PPAs

[does not]: https://packages.ubuntu.com/search?keywords=libtinfo

Unfortunately all of the LLVM binary releases still for Ubuntu still
target 18.04 and contain binaries linked against `libtinfo5` — bumping
the version of LLVM we use in our tests' toolchains will not solve this
problem.

Pinning CI to use Ubuntu 22.04 is an option; however this PR installs
`libtinfo5` on the Ubuntu 24.04 runners manually instead.
@rrbutani rrbutani marked this pull request as ready for review October 11, 2024 20:01
@keith
Copy link
Member

keith commented Oct 11, 2024

if you want to not install it we just need to use the 19.x train of llvm, which no longer has a dep on this lib

@rrbutani
Copy link
Collaborator Author

rrbutani commented Oct 11, 2024

if you want to not install it we just need to use the 19.x train of llvm, which no longer has a dep on this lib

Good catch; forgot about that change.

I think it makes sense for us to still test some of the older LLVM toolchain versions in our test suite but I don't feel strongly about this.

I'm going to leave this change as is for now to get CI unbroken but feel free to remove this workaround + bump LLVM in the tests in a follow up.

@keith
Copy link
Member

keith commented Oct 11, 2024

++ on testing old stuff, just figured that might be easier, but looks like you already got something working so nvm!

@rrbutani rrbutani enabled auto-merge (squash) October 11, 2024 20:10
@rrbutani rrbutani merged commit e047cfc into master Oct 11, 2024
36 checks passed
@rrbutani rrbutani deleted the fix/ubuntu-ci branch October 11, 2024 20:19
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