From db515320ccaeabdde00a10ee175e73e122a975d5 Mon Sep 17 00:00:00 2001 From: shua Date: Sat, 2 Nov 2024 16:23:09 +0100 Subject: [PATCH] fix rustc installation The 0.0.1 release of enzyme rust doesn't include the std component. The intent of this change is to get rust enzyme working again in enzyme explorer, by using the enzyme-0.0.3 release --- builder/install-compilers.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/builder/install-compilers.sh b/builder/install-compilers.sh index 954e59b..2eb4704 100755 --- a/builder/install-compilers.sh +++ b/builder/install-compilers.sh @@ -6,9 +6,8 @@ /app/infra/bin/ce_install install "compilers/cuda 11.8.0" -curl -LJO https://github.com/EnzymeAD/rust/releases/download/enzyme-0.0.1/rustc-nightly-x86_64-unknown-linux-gnu.tar.gz +curl -LJO https://github.com/EnzymeAD/rust/releases/download/enzyme-0.0.3/rust-nightly-x86_64-unknown-linux-gnu.tar.gz mkdir -p /opt/compiler-explorer/rust-nightly-enzyme -tar -xf rustc-nightly-x86_64-unknown-linux-gnu.tar.gz -cp -r ./rustc-nightly-x86_64-unknown-linux-gnu/rustc/* /opt/compiler-explorer/rust-nightly-enzyme/ -rm -r rustc-nightly-x86_64-unknown-linux-gnu.tar -rm rustc-nightly-x86_64-unknown-linux-gnu.tar.gz +tar -xf rust-nightly-x86_64-unknown-linux-gnu.tar.gz +./rust-nightly-x86_64-unknown-linux-gnu/install.sh --prefix=/opt/compiler-explorer/rust-nightly-enzyme/ +rm rust-nightly-x86_64-unknown-linux-gnu.tar.gz