mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
Toolchain: Build libLLVM as a dynamic library
This library is used by virtually all executables in the Clang toolchain. By default, it is linked statically, which leads to huge file sizes and us running out of artifact storage disk space on CI.
This commit is contained in:
parent
8e93815846
commit
d3595477d8
1 changed files with 3 additions and 0 deletions
|
@ -259,6 +259,9 @@ pushd "$DIR/Build/clang/$ARCH"
|
|||
-DLLVM_ENABLE_PROJECTS="clang;lld" \
|
||||
-DLLVM_INCLUDE_BENCHMARKS=OFF \
|
||||
-DLLVM_INCLUDE_TESTS=OFF \
|
||||
-DLLVM_LLVM_BUILD_LLVM_DYLIB=ON \
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON \
|
||||
-DLLVM_INSTALL_UTILS=OFF \
|
||||
${dev:+"-DLLVM_CCACHE_BUILD=ON"} || exit 1
|
||||
|
||||
buildstep "llvm+clang/build" ninja -j "$MAKEJOBS" || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue