4 ms·
Does it produce hermetic builds?
by euyyn 7y ago
Does it produce hermetic builds?
- waruqi 7y agoWhat's hermetic builds?
- tele_ski 7y agoHermetic Builds. ... Our builds are hermetic, meaning that they are insensitive to the libraries and other software installed on the build machine. Instead, builds depend on known versions of build tools, such as compilers, and dependencies, such as libraries. Kind of like a container for building? I had to look it up myself.
- waruqi 7y agoGot it, xmake is hermetic Builds. It does not rely on any third-party tools, nor does it rely on make. Unless remote dependencies are used, this is optional.
- shaklee3 7y agoHow would it do that besides building in a container?
- joshuamorton 7y agoLook into bazel, pants, and similar hermetic build systems. You pin all dependencies and manage flags and such but via the build system.
- pfranz 7y agoI don't know if this is what the parent was intending (I'm curious to see other examples), but depending on your definition Nix (nixos.org) seems to fit that need.
- otabdeveloper1 7y agoNix does exactly what you want.
- euyyn 7y agoThat, and also insensitive to builds you might have done of other versions of the source code, etc. I.e. it's not affected by "files left behind" that would require you to do a clean build and lose incrementality.