diff options
author | Rich Gowman <rgowman@google.com> | 2018-01-31 13:47:59 -0500 |
---|---|---|
committer | Rich Gowman <rgowman@google.com> | 2018-02-06 10:02:30 -0500 |
commit | 15206e8df2d3fff84ba897e57def7271e5733dcf (patch) | |
tree | 6fc53764298004ae11246c848136fb012cefbe12 /cmake/FindGRPC.cmake | |
parent | f12406716c6422c3f9c7186ea0990f8d7ff24536 (diff) |
Skip 'update' step for external dependencies
We check them out from a git tag, so this *should* be a noop. However,
cmake seems to want to rebuild these dependencies every time you run
make as it assumes the dependency *might* have been updated. (In
practice, this isn't completely awful, as make notices the files haven't
changed, so files don't actually get recompiled. But the configure step
is still re-run and all the files still need to be rescanned.)
Skipping the update step speeds up the build considerably.
On my linux box, running:
cmake .. && make -j && time make -j
takes ~8.5s prior to this CL and ~6.5 afterwards. (6s is used by the
test suite.) The upcoming protobuf addition would otherwise have made
this much worse. (It takes a long time to ./configure.)
Diffstat (limited to 'cmake/FindGRPC.cmake')
0 files changed, 0 insertions, 0 deletions