Deterministic Compilation - CI/CD用語集の定義
deterministic compilation は、timestamp、ファイルの並び順、絶対パスといった非決定的な入力を取り除くことで、同じソースと toolchain から毎回バイト単位で同一の出力を生成します。
重要な理由
決定性は reproducible build の基盤です。同じ commit の 2 つの独立したビルドが同一のバイナリを生成すれば、公開された artifact が改ざんされていないことを誰でも検証できます。
関連ガイド
Reproducible Build - CI/CD Glossary DefinitionReproducible Build: A reproducible build produces a bit-for-bit identical output whenever it is run from the…
Hermetic Build - CI/CD Glossary DefinitionHermetic Build: A hermetic build runs in complete isolation from the host: it declares every input explicitly…
Checksum - CI/CD Glossary DefinitionChecksum: A checksum is a fixed-size value computed from a file with a hash function (such as SHA-256) that c…