[all-commits] [llvm/llvm-project] 36adb8: LLVMProcessSources.cmake: Improve PARTIAL_SOURCES_...

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Sun Feb 12 03:13:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36adb82c251d2d0627856b648a1c357fa7f3864e
      https://github.com/llvm/llvm-project/commit/36adb82c251d2d0627856b648a1c357fa7f3864e
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-02-12 (Sun, 12 Feb 2023)

  Changed paths:
    M llvm/cmake/modules/LLVMProcessSources.cmake

  Log Message:
  -----------
  LLVMProcessSources.cmake: Improve PARTIAL_SOURCES_INTENDED.

The last non-partial-specified target can collect and check source files.

Case A:
  llvm_add_library(foo PARTIAL_SOURCES_INTENDED ...)
  llvm_add_library(bar PARTIAL_SOURCES_INTENDED ...)
  llvm_add_library(baz ...)

  baz checks source files in foo, bar, and baz.

Case B:
  llvm_add_library(hoge PARTIAL_SOURCES_INTENDED ...)
  llvm_add_library(fuga PARTIAL_SOURCES_INTENDED ...)
  llvm_add_library(piyo PARTIAL_SOURCES_INTENDED ...)
  llvm_check_source_file_list() # Explicitly checks sources in hoge, fuga, and piyo.

Differential Revision: https://reviews.llvm.org/D142256


  Commit: 0e18b5feaabac816c1c2f7333b1645df5edb018b
      https://github.com/llvm/llvm-project/commit/0e18b5feaabac816c1c2f7333b1645df5edb018b
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-02-12 (Sun, 12 Feb 2023)

  Changed paths:
    M llvm/lib/FuzzMutate/CMakeLists.txt

  Log Message:
  -----------
  LLVMFuzzerCLI: [CMake] Prune the last PARTIAL_SOURCES_INTENDED to cover all sources.


Compare: https://github.com/llvm/llvm-project/compare/19128792e2aa...0e18b5feaaba


More information about the All-commits mailing list