sccache: Silent fails building brave on windows with sccache

Here at www.brave.com we build our product on OSX and linux with sccache support. On windows setting the env for logging to trace seems to get us no extra logging. Also it seems as though all the calls are not supported

browser-laptop-bootstrap>type npm-debug.log.2956940901 D:\browser-laptop-bootstrap>sccache -s Max cache size 10 GiB Cache size 0 bytes Cache location Local disk: "C:\\Users\\posix4e\\AppData\\Local\\Mozilla\\sccache" Compile requests 657 Compile requests executed 0 Cache hits 0 Cache misses 0 Forced recaches 0 Cache read errors 0 Cache write errors 0 Compilation failures 0 Cache errors 0 Successful compilations which could not be cached 0 Non-cacheable calls 0 Non-compilation calls 0 Unsupported compiler calls 657 Average cache write 0.000 s Average cache read miss 0.000 s Average cache read hit 0.000 s

How do i begin to debug this?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 19 (6 by maintainers)

Commits related to this issue

Most upvoted comments

@emerick sccache is passing -E to preprocess, resulting in -E being passed in combination with /showIncludes, which clang-cl.exe didn’t support until my recent patch: https://reviews.llvm.org/rC331533