anza-xyz / platform-tools

Apache License 2.0
47 stars 32 forks source link

Customized Rust/Clang toolchain for Solana Platform

Build Status

Builds Clang and Rust compiler binaries that incorporate customizations and fixes required by Solana but not yet upstreamed into Rust or LLVM.

Building

$ ./build.sh [--docker]

The --docker option can be used to build Linux binaries on macOS in a docker container. If the option is not specified only macOS binaries are built on a Mac. On Linux the --docker option is ignored.

Releases

This repo depends on the following:

Any changes that need to go into a Rust release must be made in the appropriate repos listed above.

This repository is used to build the toolchain binaries in GitHub Actions. The created tarballs are uploaded as build artifacts in GitHub Actions.

The release of the binaries is fully automated. Do not release manually. To release the binaries, push a release tag that starts with the 'v' character, e.g. v1.2. The GitHub workflow automatically triggers a new build, creates a release with the name of the tag, and uploads the toolchain tarballs as the release assets.