Skip to content

Bazel compatible C and Rust toolchains, used for building Materialize

License

Notifications You must be signed in to change notification settings

MaterializeInc/toolchains

Repository files navigation

toolchains

About

This repository contains Github Actions to build and package Rust and C toolchains for consumption with Bazel.

Rust

Currently we just re-compress the Rust toolchains from static.rust-lang.org with zstd which has much faster decompression times than the default LZMA2 algorithm typically used with .tar.xz package.

C (Clang)

We build a Clang toolchain from the upstream source llvm-project with CMake and Ninja. Generally following the instructions from:

The resulting toolchain is designed for consumption with toolchains_llvm and to be a drop-in replacement for the toolchains provided by the upstream llvm-project. Similar to Rust, we also compress the package with zstd.