mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 09:18:55 +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
Notes:
sideshowbarker
2024-07-18 07:12:23 +09:00
Author: https://github.com/BertalanD
Commit: d3595477d8
Pull-request: https://github.com/SerenityOS/serenity/pull/9295
Reviewed-by: https://github.com/gunnarbeutner ✅
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