-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
libllvm does not create a native llvm-config #879
Comments
Implemented in #917. |
This was kept open because the underlying bug which caused libllvm to not create a host=gnueabi/target=androideabi llvm-config was never fixed. It was just sidestepped. |
This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Relevant files to look at: https://github.com/llvm/llvm-project/tree/main/llvm/tools/llvm-config I dive a little bit and I wonder if it has always been this way ( For our use case if we want to have cross |
Cross compiling llvm builds a native (host=build) version of
llvm-config
as a make step. But in termux, this is not the case. The native llvm-config is built for target host.The native build takes place in
$TERMUX_PKG_BUILDDIR/NATIVE
. I was unable to find the root cause, but, the native build also uses$TERMUX_STANDALONE_TOOLCHAIN/bin/clang++
. I suspect that this may be a bug in the cross compilation mechanism of cmake itself.This is required to build rustc and other packages dependent on
llvm-config
.The text was updated successfully, but these errors were encountered: