-
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
Install Fails for LLDB-10 #350
Comments
I might have a patch to fix it (had a similar problem with lldb 7.1). |
Thanks @mmarchini - I've down graded to 9 for now so it's not urgent |
Ok, it's not what I imagined, but I did some work in the past to address this problem as well. What happened is the LLVM project officially moved to GitHub last hear, and as such it seems the llvm-mirror org hasn't been updated anymore (which makes sense). The source of truth now is https://github.com/llvm/llvm-project. The problem is if someone clones it they'll get the entire llvm project (which is huge) instead of just lldb. The tags and branches format is also different, and I'm pretty sure I hit a edge case where the version on my machine didn't had a tag. With that being said, it seems like headers are now available as release artifacts there, so I'll investigate using that instead of a git clone. Edit: well, not all versions have headers as release artifacts, so we'll need a bit more fiddling... It'll be a bit more work than I imagined. |
On a side note, if you also install lldb headers you can probably use LLDB 10 without problems. |
Starting to wonder if we should just ship the headers by ourselves instead 🤔 |
I guess if we ship the headers, we need to figure out a way to make it work across different lldb versions..we could put the headers for supported versions in this repo and fetch them during installation, or just bundle them all in (though I am not sure how much bigger the resulting tarball would be) |
Yes, those are all good options. What I've heard from an lldb maintainer is that they try to keep the ABI backwards compatible across major changes, although I'm not sure how well it works on practice. Should be easy enough to setup a GitHub Action to use the headers from, let's say, 3.9 and test on all majors up to 10. If this works we might even be able to provide pre built binaries. |
What I found was happening is that the function getLlvmConfig() was expecting either the executable
|
@codisms Right on the money, thanks! |
Closing this as the work is happening in #389 |
FYI - It looks like https://github.com/llvm-mirror/lldb.git doesn't have a release_100 branch that maps to lldb-10.
So the error below gets thrown.
Does it need a patch to warn the user in a friendlier way?
Not 100% about the release cadence on the llvm mirror
The text was updated successfully, but these errors were encountered: