mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
rust-llvm: Compile llvm to use dynamic libraries
Our main llvm recipe uses dynamic linking already but rust-llvm does not. Enabling this significanly reduces the size of llvm-rust to about a third of what it was, which is a bettter configuration for us leading to smaller TMPDIR and sstate objects. (From OE-Core rev: 2b6a6d4199e4eed65f20351d077a04a7cf9da460) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e894acce6e
commit
c4a5e590b5
|
@ -44,6 +44,8 @@ EXTRA_OECMAKE = " \
|
|||
-DLLVM_ENABLE_FFI=OFF \
|
||||
-DLLVM_INSTALL_UTILS=ON \
|
||||
-DLLVM_BUILD_EXAMPLES=OFF \
|
||||
-DLLVM_BUILD_LLVM_DYLIB=ON \
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON \
|
||||
-DLLVM_INCLUDE_EXAMPLES=OFF \
|
||||
-DLLVM_BUILD_TESTS=OFF \
|
||||
-DLLVM_INCLUDE_TESTS=OFF \
|
||||
|
|
Loading…
Reference in New Issue
Block a user