3 ms·
The solution in my experience (also the approach at Google) is to always build from source but cache the build artefacts. This is how Buckaroo works too (althou
by rienbdj 8y ago
The solution in my experience (also the approach at Google) is to always build from source but cache the build artefacts. This is how Buckaroo works too (although it is Buck instead of Bazel).
- entelechy 8y agoyes and you can also distribute your cache [1] Furthermore it uses git to manage the sourcecode and use shallow&shared clones to have quick downloads. [1] https://buckbuild.com/files-and-dirs/buckconfig.html#cache https://buckbuild.com/files-and-dirs/buckconfig.html#cache Lastly I'd like to note that Buck and Bazel are converging to Skylark for describing builds. The differences between Buck and Bazel should become smaller over time
- ghthor 8y agoPants has also converged with Bazel around BUILD file formats.