Skip to content

just-buildsystem/justbuild-static-binaries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Justbuild Static Binaries

Reproducible Justbuild binaries can be obtained by building and statically linking with the musl libc. To achieve reproducibility that is independent of the x86_64 Linux build host, the compiler toolchain is acquired via Bootstrappable Builds.

Predictable Binaries

Independent of the x86_64 Linux build host, we can predict that for

  • Justbuild Version: v1.4.0
  • Toolchain: gcc-14.1.0-musl+tools

binaries with the following hashes will be produced:

How to Build and Verify

First, install Justbuild and make sure to fulfill the toolchain requirements.

For building, clone this repository and run:

$ just-mr build

For verifying Git blob IDs, run:

$ just-mr build --dump-artifacts - | diff hashes/x86_64.GITBLOBIDS -

For verifying SHA256 checksums (requires install), run:

$ just-mr install -o .
$ sha256sum -c hashes/x86_64.SHA256SUMS

Note that to obtain cross-compiled binaries for arm64, you need to specify -D'{"TARGET_ARCH":"arm64"}' for building and use arm64.GITBLOBIDS or arm64.SHA256SUMS for verification.

About

Description to build justbuild binaries statically

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •