rust: disable build from downloading a version of LLVM from Rust CI (#39146)

This commit is contained in:
Alec Scott 2023-08-02 03:35:52 -07:00 committed by GitHub
parent df2938dfcf
commit 3be565f49e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,6 +116,9 @@ def configure(self, spec, prefix):
opts.append(f"build.cargo={spec['rust-bootstrap'].prefix.bin.cargo}") opts.append(f"build.cargo={spec['rust-bootstrap'].prefix.bin.cargo}")
opts.append(f"build.rustc={spec['rust-bootstrap'].prefix.bin.rustc}") 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. # Convert opts to '--set key=value' format.
flags = [flag for opt in opts for flag in ("--set", opt)] flags = [flag for opt in opts for flag in ("--set", opt)]