-
Notifications
You must be signed in to change notification settings - Fork 100
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
Use official llvm-project
monorepo, expand LLDB versions check
#389
Conversation
Looking forward to this.. can we use this fork in the meantime somehow? is it published somewhere? |
@simllll it's not published anywhere, but you can see how we're installing it in our development container here: |
Tested this today and it worked as expected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@mmarchini any chance you can help with the CI issues? |
Looks like we need this PR to land first mmarchini/setup-node#1 |
The mirror option really should be implemented upstream for setup-node :( There are way to many conflicts on my fork, let me see if I can get a PR going on |
Hey @mmarchini From what I can see it's these two commits that need reintegrating but let me know if there is anything else or hidden gotchas. If they don't accept it we can kick of this process |
Update: I've merged the changes from https://github.com/mmarchini/setup-node/commits/mirror |
Update: I've raised this PR to land a green build #398 that we can use as a base to land this. |
Will do! |
Codecov Report
@@ Coverage Diff @@
## main #389 +/- ##
==========================================
+ Coverage 77.14% 77.18% +0.03%
==========================================
Files 34 34
Lines 5023 5027 +4
==========================================
+ Hits 3875 3880 +5
+ Misses 1148 1147 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Hey @trxcllnt |
@No9 Sure, I'd be happy to! |
138cabc
to
46bc04d
Compare
Seems like some LLVM versions aren't packaged by Ubuntu. Should I switch the CI runner to use the LLVM apt repositories listed at https://apt.llvm.org/? |
My first thought is to add mutually exclusive conditionals based on I'm conscious that distros tend to do some magic when they are packaging and as that's the most common use case I think it would be a good idea to continue to catch it. That said, if I've missed a reason why we should default to all llvm I'm happy to hear it. |
@No9 it looks like there's a few specific combos of |
3afd655
to
c3a980f
Compare
Hey @trxcllnt So lldb 10 to 14 is returning
Instead of
This is compounded by the logic in flush truncating lines on carriage returns
I've updated my local version of flush to make an exception for this case
And also updated the test to just match on Very conscious that you've put a lot of work in to this so wanted to give you the option of applying something similar to this PR. |
@No9 feel free to push any fixes directly to this branch! Lemme know if you need access. Whatever we need to do to get this passing. |
Signed-off-by: Anton Whalley <[email protected]>
Signed-off-by: Anton Whalley <[email protected]>
Signed-off-by: Anton Whalley <[email protected]>
Signed-off-by: Anton Whalley <[email protected]>
Given this PR has been open for 16 months and the last major change was 6 weeks ago and we have an approval I am going to merge this. |
Old versions of Ubuntu (and likely other LTS distros) have `git` versions which do not support `git-sparse-checkout`. `git-sparse-checkout` is used as of nodejs#389. Dynamically check if `git sparse-checkout` is supported, and if not then fallback to cloning the whole repo. Cloning the whole repo is _slow_, but at least it works. I tested this patch on Ubuntu 18.04 without any lldb headers installed, and it worked successfully.
Old versions of Ubuntu (and likely other LTS distros) have `git` versions which do not support `git-sparse-checkout`. `git-sparse-checkout` is used as of nodejs#389. Dynamically check if `git sparse-checkout` is supported, and if not then fallback to cloning the whole repo. Cloning the whole repo is _slow_, but at least it works. I tested this patch on Ubuntu 18.04 without any lldb headers installed, and it worked successfully.
Old versions of Ubuntu (and likely other LTS distros) have `git` versions which do not support `git-sparse-checkout`. `git-sparse-checkout` is used as of #389. Dynamically check if `git sparse-checkout` is supported, and if not then fallback to cloning the whole repo. Cloning the whole repo is _slow_, but at least it works. I tested this patch on Ubuntu 18.04 without any lldb headers installed, and it worked successfully.
20.0 - 1.0.0
on Linux so we don't have to update LLDB versions for a few years.Fixes #350