[all-commits] [llvm/llvm-project] 904f1b: [CMake] Configure ccache using command line option...

Kajetan Puchalski via All-commits all-commits at lists.llvm.org
Mon Apr 14 12:25:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 904f1b17d30335b102bd05f63a73e9ed5576ba0a
      https://github.com/llvm/llvm-project/commit/904f1b17d30335b102bd05f63a73e9ed5576ba0a
  Author: Kajetan Puchalski <kajetan.puchalski at arm.com>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

  Changed paths:
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Configure ccache using command line options (#134857)

Since ccache 4.8, it is possible to pass configuration options directly
to ccache on the command line as opposed to through environment
variables.
This is the intended way for CMake to configure ccache, as described on
the GitHub wiki for the project:
https://github.com/ccache/ccache/wiki/CMake

This should allow for uniform ccache configuration that does not rely on
platform-specific environment setup.

Rework the way ccache is configured by LLVM accordingly.

---------

Signed-off-by: Kajetan Puchalski <kajetan.puchalski at arm.com>



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