Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hermetic 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.



Got 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.


That, 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.


Nix does exactly what you want.


How would it do that besides building in a container?


Look into bazel, pants, and similar hermetic build systems.

You pin all dependencies and manage flags and such but via the build system.


I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: