Re:Building Uber’s Go Monorepo with Bazel
by kortex on Friday May 15, 2020 @08:45AM
(#23191505)
You can use sccache with Cmake easily. On mobile so I can only give you breadcrumbs.
1. Set up sccache backing server (I use docker redis)
2. Export sccache config. Set SCCACHE_REDIS to a Redis url in format redis://[:<passwd>@]<hostname>[:port][/<db>]
Set CMAKE_<LANG>_COMPILER_LAUNCHER (cc, cxx) to sccache.
1. Set up sccache backing server (I use docker redis) 2. Export sccache config. Set SCCACHE_REDIS to a Redis url in format redis://[:<passwd>@]<hostname>[:port][/<db>]
Set CMAKE_<LANG>_COMPILER_LAUNCHER (cc, cxx) to sccache.