Summary
When configuring an engine build using a custom toolchain, ccache is not used for the target build.
Expected behaviour
All C & C++ build steps should be cacheable
Actual behaviour
Only build steps for the build host are cached
Cacheable calls: 1423 / 1423 (100.0%)
Steps to reproduce
-
Zero ccache stats
-
Configure an engine build using ccache and a custom toolchain
$ gn --target-toolchain=<toolchain> --target-sysroot=<sysroot> --ccache --target-dir=target-ccache
$ ninja -C engine/src/out/target-ccache
-
Verify ccache stats
Summary
When configuring an engine build using a custom toolchain, ccache is not used for the target build.
Expected behaviour
All C & C++ build steps should be cacheable
Actual behaviour
Only build steps for the build host are cached
Steps to reproduce
Zero ccache stats
Configure an engine build using ccache and a custom toolchain
Verify ccache stats