Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ get_base_cmake_args() {
-DLLVM_INCLUDE_BENCHMARKS=OFF
-DLLVM_BUILD_DOCS=OFF
-DLLVM_ENABLE_DOXYGEN=OFF
-DLLVM_INSTALL_UTILS=ON
-DLLVM_INSTALL_UTILS=OFF
-DLLVM_ENABLE_Z3_SOLVER=OFF
-DLLVM_ENABLE_LIBEDIT=OFF
-DLLVM_OPTIMIZED_TABLEGEN=ON
Expand Down Expand Up @@ -276,7 +276,10 @@ build_platform() {
echo "Building $target..."
local cores=$(get_cpu_cores)
echo "Using $cores CPU cores for build"
ninja -j"$cores"

# Build only essential tools to significantly reduce build time
# LLGo currently only requires libLLVM.dylib for dynamic libraries, and this dylib will be built with the following targets
ninja -j"$cores" clang llvm-config llvm-ar llvm-nm lld

# Install
echo "Installing $target..."
Expand Down
Loading