[webkit-changes] [WebKit/WebKit] c7e727: [WinCairo] Compile error with ninja and ccache ins...

Fujii Hironori noreply at github.com
Sun Mar 26 03:13:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c7e72788869f05768c12200a95f59020a78c420d
      https://github.com/WebKit/WebKit/commit/c7e72788869f05768c12200a95f59020a78c420d
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2023-03-26 (Sun, 26 Mar 2023)

  Changed paths:
    M Source/cmake/WebKitCCache.cmake

  Log Message:
  -----------
  [WinCairo] Compile error with ninja and ccache inside Batch
https://bugs.webkit.org/show_bug.cgi?id=254216
<rdar://problem/107149973>

Reviewed by Fujii Hironori.

The document says we should use CMAKE_<LANG>_COMPILER_LAUNCHER
variables or <LANG>_COMPILER_LAUNCHER target property for ccache
instead of RULE_LAUNCH_COMPILE property.
<https://cmake.org/cmake/help/latest/prop_gbl/RULE_LAUNCH_COMPILE.html>

Using RULE_LAUNCH_COMPILE for ccache caused a problem for the resource
compiler on Windows.

Additional change from Philippe Normand, use the same approach for hooking up sccache to the C/C++
compilers.

* Source/cmake/WebKitCCache.cmake:
Set CMAKE_C_COMPILER_LAUNCHER and CMAKE_CXX_COMPILER_LAUNCHER.

Canonical link: https://commits.webkit.org/262125@main




More information about the webkit-changes mailing list