3 ms·
(1) sounds like table stakes for any build system - `make` has done all that for decades
by fanf2 7y ago
(1) sounds like table stakes for any build system - `make` has done all that for decades
- sayrer 7y agoWell, sort of. The way make tracks changes triggers more rebuilds and the build products are much less reusable. There's a good comparison table at the bottom of section 2.4 in https://www.microsoft.com/en-us/research/uploads/prod/2018/03/build-systems-final.pdf https://www.microsoft.com/en-us/research/uploads/prod/2018/0... Bazel's dependency graph tends to be much more detailed than Makefiles, extends all the way to toolchains at the base, and all the way up to build products and test results. It can also be composed together across huge file layouts in ways make doesn't support.
- gravypod 7y agoMake cannot guarantee that this is the case. Bazel sandboxs all builds and hides them from non-reproducable things (internet, files they shouldn't get to see, etc) to make it "impossible" for you to have a build that isn't specified correctly in the DAG