From 3be565f49e7a694fb7cbeda6c82b3257b51f9786 Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Wed, 2 Aug 2023 03:35:52 -0700 Subject: [PATCH] rust: disable build from downloading a version of LLVM from Rust CI (#39146) --- var/spack/repos/builtin/packages/rust/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/rust/package.py b/var/spack/repos/builtin/packages/rust/package.py index abf73a01af..b660697df3 100644 --- a/var/spack/repos/builtin/packages/rust/package.py +++ b/var/spack/repos/builtin/packages/rust/package.py @@ -116,6 +116,9 @@ def configure(self, spec, prefix): opts.append(f"build.cargo={spec['rust-bootstrap'].prefix.bin.cargo}") opts.append(f"build.rustc={spec['rust-bootstrap'].prefix.bin.rustc}") + # Disable bootstrap LLVM download. + opts.append("llvm.download-ci-llvm=false") + # Convert opts to '--set key=value' format. flags = [flag for opt in opts for flag in ("--set", opt)]