-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
clang-11 through clang-16 fail to install on ubuntu-24.04 #329
clang-11 through clang-16 fail to install on ubuntu-24.04 #329
Comments
Thanks for the report. Do you have logs for this that could speed up the debugging? |
https://github.com/KrystalDelusion/yosys/actions/runs/12857796412 has a step: - name: Setup Cpp
uses: aminya/setup-cpp@v1
with:
compiler: ${{ matrix.compiler }} Which I ran with clang-10 through clang-19 under ubuntu-latest (instanced as 24.04).
|
Thanks. We can fix this by removing the non-existent LLVM ppa after the failed installation. Line 79 in 1fd8139
Then installation will fallback to the normal binary downloads. |
I've made a PR that tries to fix this. Can you try it in your repo and see if it is fixed? - name: Setup Cpp
uses: aminya/setup-cpp@llvm-remove-repo
with:
compiler: ${{ matrix.compiler }} |
This appears to have fixed some, but has introduced failures in others.
These are both in response to calling |
I have merged a fix for this. Could you test with the master branch? @KrystalDelusion |
Pinning to c08b751 did fix the clang-13 error, but clang-15 and clang-16 are still getting the same Comparing with clang-14 which downloads Looking at the llvm-project releases, there doesn't seem to be an x86_64 binary for the selected versions. 15.0.6 does, but 15.0.7 doesn't. |
Thanks for the info. The matching algorithm seems to have a bug that prefers PowerPC binaries in the latest release instead of going back to 15.0.6. I will have to look into the scoring algorithm and find a way to force one of the x86 keywords. For now, you can fix this by being more precise with the version like setup-cpp/src/llvm/llvm_url.ts Line 120 in c08b751
setup-cpp/src/utils/asset/load-assets.ts Line 178 in c08b751
|
Thanks! |
When trying to install clang-11 through clang-16 on ubuntu-24.04 it looks like it's trying to install from source, and as part of that attempts to install libtinfo-dev which is not available in distros newer than jammy (22.04). For clang<=10 it looks like there it uses libtinfo5 which has a valid fallback.
Should it be changed to install libtinfo6 for clang>10? That is available on noble (24.04), while libtinfo-dev on jammy says
The text was updated successfully, but these errors were encountered: