mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-01 09:08:42 +08:00
Install with sccache to speed it up
This commit is contained in:
parent
424f51e9e2
commit
eb2d1db239
@ -4,9 +4,11 @@
|
||||
# in Podman after the image has been built
|
||||
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
|
||||
cargo +stable install --force --version 0.1.1 cargo-config
|
||||
cargo +stable install --force --version 1.16.0 just
|
||||
cargo +stable install --force --version 0.27.0 cbindgen
|
||||
|
||||
SCCACHE_PATH=https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-$(uname -m)-unknown-linux-musl.tar.gz
|
||||
curl -sSL $SCCACHE_PATH | tar -xz -C ~/.cargo/bin --strip-components=1 --wildcards '*/sccache'
|
||||
export RUSTC_WRAPPER=sccache
|
||||
|
||||
cargo +stable install --force --version 0.1.1 cargo-config
|
||||
cargo +stable install --force --version 1.16.0 just
|
||||
cargo +stable install --force --version 0.27.0 cbindgen
|
||||
|
||||
Loading…
Reference in New Issue
Block a user