{{ message }}
Support llvm dev releases#433
Open
trxcllnt wants to merge 8 commits into
Open
Conversation
trxcllnt
commented
Mar 7, 2024
Comment on lines
+116
to
+118
| # Is `/usr/lib/lib` here correct? | ||
| sudo mkdir -p /usr/lib/lib/python${python_version} | ||
| sudo ln -s /usr/lib/llvm-${{ matrix.llvm }}/lib/python${python_version}/site-packages /usr/lib/lib/python${python_version}/site-packages |
Contributor
Author
There was a problem hiding this comment.
Left a comment here, not sure what symlinking to /usr/lib/lib is doing?
trxcllnt
commented
Mar 7, 2024
Comment on lines
+155
to
+156
| sudo apt-get install lldb-11 liblldb-11-dev lcov -y | ||
| sudo ln -s $(which lldb-11) /usr/bin/lldb |
Contributor
Author
There was a problem hiding this comment.
Updated these to lldb-11 because ubuntu-latest is now jammy
trxcllnt
commented
Mar 7, 2024
Comment on lines
+51
to
+82
| use_llvm_repos=1 | ||
|
|
||
| case "${{ matrix.os }}-${{ matrix.llvm }}" in | ||
| ubuntu-18.04-10) use_llvm_repos=1;; | ||
| ubuntu-18.04-11) use_llvm_repos=1;; | ||
| ubuntu-18.04-12) use_llvm_repos=1;; | ||
| ubuntu-18.04-13) use_llvm_repos=1;; | ||
| ubuntu-18.04-14) use_llvm_repos=1;; | ||
| ubuntu-20.04-13) use_llvm_repos=1;; | ||
| ubuntu-20.04-14) use_llvm_repos=1;; | ||
| *) use_llvm_repos=0;; | ||
| case "${{ matrix.os }}" in | ||
| ubuntu-18.04) | ||
| case "${{ matrix.llvm }}" in | ||
| 8) use_llvm_repos=0;; | ||
| 9) use_llvm_repos=0;; | ||
| 10) use_llvm_repos=0;; | ||
| *) use_llvm_repos=1;; | ||
| esac | ||
| ;; | ||
| ubuntu-20.04) | ||
| case "${{ matrix.llvm }}" in | ||
| 8) use_llvm_repos=0;; | ||
| 9) use_llvm_repos=0;; | ||
| 10) use_llvm_repos=0;; | ||
| 11) use_llvm_repos=0;; | ||
| 12) use_llvm_repos=0;; | ||
| *) use_llvm_repos=1;; | ||
| esac | ||
| ;; | ||
| ubuntu-22.04) | ||
| case "${{ matrix.llvm }}" in | ||
| 11) use_llvm_repos=0;; | ||
| 12) use_llvm_repos=0;; | ||
| 13) use_llvm_repos=0;; | ||
| 14) use_llvm_repos=0;; | ||
| 15) use_llvm_repos=0;; | ||
| *) use_llvm_repos=1;; | ||
| esac | ||
| ;; | ||
| *) use_llvm_repos=1;; |
Contributor
Author
There was a problem hiding this comment.
This defaults to using the LLVM repos unless it's one of the versions packaged by Canonical. This should be a limited set, compared to the previous way which would need exceptions for every version not packaged by Canonical.
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This is a followup to #389:
lldbversion is the current dev releaserelease/XY.xbranch, but does have allvmorg-XY-inittagIf we wanted to be fancy, we could populate the supported versions and CI matrix by parsing
git ls-remote --tags https://github.com/llvm/llvm-project.git 'refs/tags/llvmorg-*-init'.Let me know if that's something you'd like me to add!