-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix linking to shared LLVM. #5308
Conversation
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 but I think we need explicit comment added somewhere about why this is needed (eg "LLVM's own llvm_map_components_to_libnames function is busted if you build only the shared library version")
7fc2b47
to
69be4d4
Compare
Done. Added the comment inside the |
Does this need to run on the buildbots? |
Yes, for sure |
Any idea why the buildbots aren't running on this? |
Buildbots are very backed up after changes yesterday -- are they pending? |
Failure is unrelated, landing |
Fix linking to shared LLVM.
Fix linking to shared LLVM.
Apparently, LLVM's own
llvm_map_components_to_libnames
function is busted if you build only the shared library version.This PR should fix that up and avoid calling this function when shared LLVM is requested.
We should backport this to 10.0.0 for future Deb packaging, and we probably need to add buildbot testing of shared and bundled scenarios. Maybe just the x64 linux bot can run the generator tests.
Fixes #5304.