Don't install rust-llvm system-wide
Put rust-llvm into a directory of it's own. This avoids conflicts between the official llvm and rusts temporary one. It solves interoperability issues with meta-clang. Use /usr/lib/llvm-rust/ as prefix because that matches what llvm does themselves on debian and ubuntu.
This commit is contained in:
@@ -21,6 +21,7 @@ EXTRA_OECMAKE = " \
|
||||
-DLLVM_BUILD_TESTS=OFF \
|
||||
-DLLVM_INCLUDE_TESTS=OFF \
|
||||
-DLLVM_TARGET_ARCH=${TARGET_ARCH} \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=${libdir}/llvm-rust \
|
||||
"
|
||||
|
||||
# The debug symbols are huge here (>2GB) so suppress them since they
|
||||
|
||||
Reference in New Issue
Block a user