remove lots unuse llvm compoent to enhance build time#13
Merged
Conversation
luoliwoshang
added a commit
to luoliwoshang/homebrew-core
that referenced
this pull request
Aug 30, 2025
luoliwoshang
added a commit
to luoliwoshang/homebrew-core
that referenced
this pull request
Aug 30, 2025
llvm build cache with mac cgo config with c++17 -Wl,-rpath with llvm remove CFLAG unset by xgo-dev/llgo#1243 merged with llgo embed target build test DRUNTIMES_CMAKE_ARGS set RPATH clang prefix linux rpath -DLLVM_ENABLE_LIBEDIT=OFF refine rb struct llvm test off same rpath use reduce llvm pack same with goplus/espressif-llvm-project-prebuilt#13
luoliwoshang
added a commit
to luoliwoshang/homebrew-core
that referenced
this pull request
Aug 30, 2025
llvm build cache with mac cgo config with c++17 -Wl,-rpath with llvm remove CFLAG unset by xgo-dev/llgo#1243 merged with llgo embed target build test DRUNTIMES_CMAKE_ARGS set RPATH clang prefix linux rpath -DLLVM_ENABLE_LIBEDIT=OFF refine rb struct llvm test off same rpath use reduce llvm pack same with goplus/espressif-llvm-project-prebuilt#13
luoliwoshang
added a commit
to luoliwoshang/homebrew-core
that referenced
this pull request
Aug 31, 2025
llvm build cache with mac cgo config with c++17 -Wl,-rpath with llvm remove CFLAG unset by xgo-dev/llgo#1243 merged with llgo embed target build test DRUNTIMES_CMAKE_ARGS set RPATH clang prefix linux rpath -DLLVM_ENABLE_LIBEDIT=OFF refine rb struct llvm test off same rpath use reduce llvm pack same with goplus/espressif-llvm-project-prebuilt#13
luoliwoshang
added a commit
to luoliwoshang/homebrew-core
that referenced
this pull request
Sep 1, 2025
llvm build cache with mac cgo config with c++17 -Wl,-rpath with llvm remove CFLAG unset by xgo-dev/llgo#1243 merged with llgo embed target build test DRUNTIMES_CMAKE_ARGS set RPATH clang prefix linux rpath -DLLVM_ENABLE_LIBEDIT=OFF refine rb struct llvm test off same rpath use reduce llvm pack same with goplus/espressif-llvm-project-prebuilt#13 remove unuse component
luoliwoshang
added a commit
to luoliwoshang/homebrew-core
that referenced
this pull request
Sep 1, 2025
llvm build cache with mac cgo config with c++17 -Wl,-rpath with llvm remove CFLAG unset by xgo-dev/llgo#1243 merged with llgo embed target build test DRUNTIMES_CMAKE_ARGS set RPATH clang prefix linux rpath -DLLVM_ENABLE_LIBEDIT=OFF refine rb struct llvm test off same rpath use reduce llvm pack same with goplus/espressif-llvm-project-prebuilt#13 remove unuse component
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
parts of #12
This PR updates the LLVM/Clang build configuration to disable several optional components, following the build configuration used in TinyGo.
The goal is to simplify the prebuilt distribution, reduce build time, and remove unnecessary dependencies.
Disabled options and their effects
-DLLVM_ENABLE_TERMINFO=OFF
Disable terminfo support (no dependency on ncurses).
-DLLVM_ENABLE_ZSTD=OFF
Disable zstd compression support (compressed debug info and caches won’t use zstd).
-DLLVM_ENABLE_Z3_SOLVER=OFF
Disable Z3 SMT solver integration (LLVM passes/tools depending on Z3 are unavailable).
-DLLVM_ENABLE_OCAMLDOC=OFF
Skip generating documentation for LLVM’s OCaml bindings.
-DLLVM_ENABLE_LIBXML2=OFF
Disable libxml2 support (affects some parsing and AST export features).
-DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD=OFF
Skip building clang extra tools (e.g. clang-tidy, clang-format, clangd).
-DCLANG_ENABLE_ARCMT=OFF
Disable the ARC Migration Tool (Objective-C automatic reference counting migration).