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

Consider build Julia with multiple system LLVM libraries. #26190

Open
o01eg opened this issue Feb 24, 2018 · 3 comments
Open

Consider build Julia with multiple system LLVM libraries. #26190

o01eg opened this issue Feb 24, 2018 · 3 comments

Comments

@o01eg
Copy link

o01eg commented Feb 24, 2018

Currently LLVM library name is hardcoded to be libLLVM but in some configuration like Gentoo LLVM builds with BUILD_SHARED_LIBS=ON so it have a multiple libraries none of them named libLLVM.

It causes error while linking which was fixed by with Gentoo's patch for Julia but later it causes error on step symlink_libLLVM in base/Makefile.

@o01eg o01eg changed the title Consider build Julia wth multiple system LLVM libraries. Consider build Julia with multiple system LLVM libraries. Feb 24, 2018
@ihnorton
Copy link
Member

For the multiple-symbol issue issue see #25597

There is an option to use system LLVM, but it is strongly discouraged because Julia carries a number of functional and bug fix-related LLVM patches.

@o01eg
Copy link
Author

o01eg commented Feb 24, 2018

I have an different issue, not with symbols.
I don't have a system libLLVM.so binary. I have multiple binaries libraries libLLVM*.so in LLVM's libdir provided by LLVM installation.

@yuyichao
Copy link
Contributor

Multiple system (/external) llvm is supported. AFAICT the only issue is #19443, which require patches on mac I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants