[all-commits] [llvm/llvm-project] 2f86bc: [clang] Only build c-index-test and apinotes-test ...

David Spickett via All-commits all-commits at lists.llvm.org
Tue Dec 2 03:06:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f86bc207af7a5bd766d4d224c30851d5ced5999
      https://github.com/llvm/llvm-project/commit/2f86bc207af7a5bd766d4d224c30851d5ced5999
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2025-12-02 (Tue, 02 Dec 2025)

  Changed paths:
    M clang/tools/CMakeLists.txt

  Log Message:
  -----------
  [clang] Only build c-index-test and apinotes-test when clang tests are included (#151157)

Those programs are only used for testing, and it's used in tests that
are already guarded by CLANG_INCLUDE_TESTS in clang/CMakeLists.txt.

This change enables us to do builds with
LLVM_INSTALL_TOOLCHAIN_ONLY=OFF, and CLANG_INCLUDE_TESTS=OFF, which
contain the required files to build other bits of llvm-project
standalone, but do not include those unnecessary testing programs.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list