Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build llvm with LLVM_INSTALL_TOOLCHAIN_ONLY #364

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Commits on Dec 11, 2023

  1. Build llvm with LLVM_INSTALL_TOOLCHAIN_ONLY

    This means that `make install` then only installs things that are meant
    to be part of the public facing toolchain.
    
    See https://llvm.org/docs/BuildingADistribution.html#difference-between-install-and-install-distribution
    
    The list binaries that get installed now differ as follows:
    
    ```
    --- old
    +++ new
    @@ -1,34 +1,72 @@
    +addr2line
    +amdgpu-arch
    +analyze-build
     ar
     c++filt
     clang
     clang++
     clang-17
     clang-apply-replacements
    +clang-change-namespace
    +clang-check
     clang-cl
     clang-cpp
    +clangd
    +clang-doc
    +clang-extdef-mapping
     clang-format
    +clang-include-cleaner
    +clang-include-fixer
    +clang-linker-wrapper
    +clang-move
    +clang-offload-bundler
    +clang-offload-packager
    +clang-pseudo
    +clang-query
    +clang-refactor
    +clang-rename
    +clang-reorder-fields
    +clang-scan-deps
     clang-tidy
    +diagtool
    +find-all-symbols
     git-clang-format
    +hmaptool
    +intercept-build
     ld64.lld
     ld.lld
     lld
     lld-link
     llvm-ar
    +llvm-cov
     llvm-cxxfilt
    -llvm-dwarfdump
    -llvm-mc
    +llvm-dwp
    +llvm-lib
    +llvm-ml
     llvm-nm
     llvm-objcopy
     llvm-objdump
    +llvm-pdbutil
    +llvm-profdata
     llvm-ranlib
    +llvm-rc
    +llvm-readobj
     llvm-size
     llvm-strings
     llvm-strip
    +llvm-symbolizer
    +modularize
     nm
    +nvptx-arch
     objcopy
     objdump
    +pp-trace
     ranlib
    +readelf
     run-clang-tidy
    +scan-build
    +scan-build-py
    +scan-view
     size
     strings
     strip
    ```
    sbc100 committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    32ce568 View commit details
    Browse the repository at this point in the history