IT lexicon › Programming › Deterministic Build

Deterministic Build

Programming På svenska → Updated: 2026-11-13

A build process that always produces the same binary from the same source code, regardless of time, environment, or build order.

A deterministic build makes it possible to verify that a released binary was genuinely built from the published source code — no hidden modifications in between. If two builds of the same code produce different binaries (different checksum), something is non-deterministic: timestamps embedded in the binary, random memory addresses, non-reproducible job order in parallel builds, or undeclared build dependencies.

Reproducible builds are now a security requirement for package managers (Debian, Fedora) and a growing standard in open source. Tools must be stripped of timestamps, the SHA256 hash of the source must match, and compiler flags must be locked. It eliminates a large class of bugs hiding between code versions.

← Back to the lexicon