https://github.com/materializeinc/toolchains
Bazel compatible C and Rust toolchains, used for building Materialize
https://github.com/materializeinc/toolchains
bazel clang rust toolchain
Last synced: about 1 year ago
JSON representation
Bazel compatible C and Rust toolchains, used for building Materialize
- Host: GitHub
- URL: https://github.com/materializeinc/toolchains
- Owner: MaterializeInc
- License: apache-2.0
- Created: 2024-07-22T13:52:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-04T17:57:30.000Z (about 1 year ago)
- Last Synced: 2025-06-22T03:06:19.737Z (about 1 year ago)
- Topics: bazel, clang, rust, toolchain
- Language: Shell
- Homepage:
- Size: 70.3 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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`](https://github.com/facebook/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`](https://github.com/llvm/llvm-project) with CMake and
Ninja. Generally following the instructions from:
* [Clang - Getting Started](https://clang.llvm.org/get_started.html)
* [Building LLVM with CMake](https://llvm.org/docs/CMake.html)
* [Assembling a Complete Toolchain](https://clang.llvm.org/docs/Toolchain.html)
The resulting toolchain is designed for consumption with [`toolchains_llvm`](https://github.com/bazel-contrib/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`.