about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-12-31 11:34:26 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-12-31 11:53:42 +0000
commitd58de3ea817301655ec74b211d0cb7a6e08d40c4 (patch)
tree9298c48830fc1b9879b81b93a5f2ef0062c8443f
parent3fa4efffb0dd3b7ebd82d2096deecb5dd7f8c8fc (diff)
downloadrust-d58de3ea817301655ec74b211d0cb7a6e08d40c4.tar.gz
rust-d58de3ea817301655ec74b211d0cb7a6e08d40c4.zip
Suppress progress notifications for all git commands
-rw-r--r--scripts/setup_rust_fork.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/setup_rust_fork.sh b/scripts/setup_rust_fork.sh
index 731828caae2..578f7b1d072 100644
--- a/scripts/setup_rust_fork.sh
+++ b/scripts/setup_rust_fork.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 set -e
 
-# CG_CLIF_FORCE_GNU_AS will force usage of as instead of the LLVM backend of rustc as we
+# CG_CLIF_FORCE_GNU_AS will force usage of as instead of the LLVM backend of rustc as
 # the LLVM backend isn't compiled in here.
 export CG_CLIF_FORCE_GNU_AS=1
 
@@ -11,11 +11,13 @@ export CG_CLIF_FORCE_GNU_AS=1
 CG_CLIF_STDLIB_REMAP_PATH_PREFIX=/rustc/FAKE_PREFIX ./y.sh build
 
 echo "[SETUP] Rust fork"
-git clone https://github.com/rust-lang/rust.git --filter=tree:0 || true
+git clone --quiet https://github.com/rust-lang/rust.git --filter=tree:0 || true
 pushd rust
 git fetch
-git checkout -- .
-git checkout "$(rustc -V | cut -d' ' -f3 | tr -d '(')"
+git checkout --no-progress -- .
+git checkout --no-progress "$(rustc -V | cut -d' ' -f3 | tr -d '(')"
+
+git submodule update --quiet --init src/tools/cargo library/backtrace library/stdarch
 
 git -c user.name=Dummy -c user.email=dummy@example.com -c commit.gpgSign=false \
     am ../patches/*-stdlib-*.patch