Description
This article looks at how Bazel can be used to create reproducible, hermetic builds.
Summary
- Share this tutorial If you run two builds with the same source code and the same commit but on two different machines, do you expect to get the same result?
- GCC in some situations uses random numbers so you may need to use the -frandom-seed option to produce reproducibly identical object files.
- Bazel makes this process much easier.
- Every build will use the same unambiguous Python version.