Skip to content
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

Make the LLVM detect script verify that the dynamic library actually exists. #2816

Merged
merged 1 commit into from Aug 9, 2015

Conversation

comex
Copy link
Contributor

@comex comex commented Aug 9, 2015

[[I thought I submitted this quite some time ago - see commit date - but apparently not..?]]

For some dumb reason, llvm-config doesn't provide the flags to link
against the dynamic library copy of LLVM (as opposed to static), so the
script has to guess the library name. However, in some installations
(such as mine), there is no dynamic copy, which caused Dolphin to fail
to link. Change the script to do a link test. If it fails, one option
would be to fall back on static linking, but I just have it fail to
detect LLVM, because statically linking Dolphin against LLVM is really
not a great idea - huge binary, long link time.

…exists.

For some dumb reason, llvm-config doesn't provide the flags to link
against the dynamic library copy of LLVM (as opposed to static), so the
script has to guess the library name.  However, in some installations
(such as mine), there is no dynamic copy, which caused Dolphin to fail
to link.  Change the script to do a link test.  If it fails, one option
would be to fall back on static linking, but I just have it fail to
detect LLVM, because statically linking Dolphin against LLVM is really
not a great idea - huge binary, long link time.
@Sonicadvance1
Copy link
Contributor

LGTM

comex added a commit that referenced this pull request Aug 9, 2015
Make the LLVM detect script verify that the dynamic library actually exists.
@comex comex merged commit f135e54 into dolphin-emu:master Aug 9, 2015
@comex comex deleted the huh-where-did-this-go branch August 9, 2015 06:55
comex added a commit that referenced this pull request Oct 28, 2015
Make the LLVM detect script verify that the dynamic library actually exists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants