[all-commits] [llvm/llvm-project] 0fad18: [CMake] Remove custom ccache CMake logic

Tobias Hieta via All-commits all-commits at lists.llvm.org
Sun Feb 12 23:42:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fad18c44a14b909a1aa47165021273d4c10a665
      https://github.com/llvm/llvm-project/commit/0fad18c44a14b909a1aa47165021273d4c10a665
  Author: Tobias Hieta <tobias at hieta.se>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/docs/CMake.rst
    M llvm/docs/ReleaseNotes.rst
    M mlir/utils/clang-tidy/README.md

  Log Message:
  -----------
  [CMake] Remove custom ccache CMake logic

CMake supports CMAKE_CXX_COMPILER_LAUNCHER since CMake 3.4
so this custom CMake logic we had in LLVM can now be removed.

The only downside with this is that we can't set ccache
options from LLVM CMake, but it's arguable that this doesn't
belong in LLVM but should be done in a script calling the
build.

This was discussed in the forums here:

https://discourse.llvm.org/t/tips-for-incremental-building/67289/4?u=tobiashieta

Reviewed By: phosek

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




More information about the All-commits mailing list