Commit a200cca0 by Nick Hynes Committed by Tianqi Chen

Remove sccache from Rust install (#3728)

parent d14ca52e
...@@ -43,7 +43,6 @@ COPY install/ubuntu_install_rust.sh /install/ubuntu_install_rust.sh ...@@ -43,7 +43,6 @@ COPY install/ubuntu_install_rust.sh /install/ubuntu_install_rust.sh
RUN bash /install/ubuntu_install_rust.sh RUN bash /install/ubuntu_install_rust.sh
ENV RUSTUP_HOME /opt/rust ENV RUSTUP_HOME /opt/rust
ENV CARGO_HOME /opt/rust ENV CARGO_HOME /opt/rust
ENV RUSTC_WRAPPER sccache
# AutoTVM deps # AutoTVM deps
COPY install/ubuntu_install_redis.sh /install/ubuntu_install_redis.sh COPY install/ubuntu_install_redis.sh /install/ubuntu_install_redis.sh
......
...@@ -28,7 +28,6 @@ export CARGO_HOME=/opt/rust ...@@ -28,7 +28,6 @@ export CARGO_HOME=/opt/rust
curl -s -S -L https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain nightly-2019-03-24 curl -s -S -L https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain nightly-2019-03-24
. $CARGO_HOME/env . $CARGO_HOME/env
rustup component add rustfmt rustup component add rustfmt
cargo install sccache --no-default-features
# make rust usable by all users # make rust usable by all users
chmod -R a+w /opt/rust chmod -R a+w /opt/rust
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment