[all-commits] [llvm/llvm-project] e8dc8a: [CMake] Fix using precompiled headers with ccache ...

Kajetan Puchalski via All-commits all-commits at lists.llvm.org
Tue Apr 8 04:10:14 PDT 2025


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

  Changed paths:
    M flang/CMakeLists.txt
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Fix using precompiled headers with ccache (#131397)

Using precompiled headers with ccache requires special accommodations.
Add the required ccache options, clang and gcc compiler flags to CMake.
Refactor ccache configuration to pass options directly on the command line for versions of ccache that support it.

---------

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