クロスコンパイル - CI/CD用語集の定義
クロスコンパイルとは、あるプラットフォーム(host)上で、別のプラットフォーム(target)で動作する実行可能ファイルを build することです。例えば x86-64 の CI runner 上で ARM64 バイナリをコンパイルする場合などです。
CI では
クロスコンパイルは、すべてのアーキテクチャにネイティブな runner を用意する必要をなくします。Go の GOOS/GOARCH、Rust の --target、QEMU に支えられた Docker buildx といったツールが、1 つの runner からのマルチアーキテクチャ build を可能にします。
関連ガイド
Target Triple - CI/CD Glossary DefinitionTarget Triple: A target triple is a string that identifies the platform a compiler should build for, conventi…
Compilation - CI/CD Glossary DefinitionCompilation: Compilation is the process of translating source code into a lower-level form (machine code, byt…
ABI (Application Binary Interface) - CI/CD Glossary DefinitionABI (Application Binary Interface): An ABI (application binary interface) is the low-level contract between b…