News for hackers. Stuff that matters.
Re:Building Uber’s Go Monorepo with Bazel by ajconway on Thursday May 14, 2020 @03:54PM (#23184523)
CMake is a natural fit for C/C++ (even though I strongly dislike the syntax). It has a good IDE project generation, and you can use ninja to build super fast. But it isn’t pre-configured for hermetic builds out of the box, remote, team-wide builds and caching are much further than a command line option away.
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.