Skip to content

Commit 9025c6d

Browse files
committed
[RISCV] Add --prune to git fetch for RISE builder scripts
1 parent 1d9240c commit 9025c6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

zorg/buildbot/builders/annotated/rise-riscv-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ if [ ! -d llvm ]; then
7272
fi
7373

7474
build_step "Updating llvm-project repo"
75-
git -C llvm fetch origin
75+
git -C llvm fetch --prune origin
7676
git -C llvm reset --hard "${LLVM_REVISION}"
7777

7878
# We unconditionally clean (i.e. don't check BUILDBOT_CLOBBER=1) as the script
@@ -142,7 +142,7 @@ if [ ! -d llvm-test-suite ]; then
142142
fi
143143

144144
build_step "Updating llvm-test-suite repo"
145-
git -C llvm-test-suite fetch origin
145+
git -C llvm-test-suite fetch --prune origin
146146
git -C llvm-test-suite reset --hard origin/main
147147

148148
build_step "llvm-test-suite cmake"

zorg/buildbot/builders/annotated/rise-riscv-gauntlet-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if [ ! -d llvm-project ]; then
3939
fi
4040

4141
build_step "Updating llvm-project repo"
42-
git -C llvm-project fetch origin
42+
git -C llvm-project fetch --prune origin
4343
git -C llvm-project reset --hard "${LLVM_REVISION}"
4444

4545
if [ ! -d llvm-test-suite ]; then
@@ -48,7 +48,7 @@ if [ ! -d llvm-test-suite ]; then
4848
fi
4949

5050
build_step "Updating llvm-test-suite repo"
51-
git -C llvm-test-suite fetch origin
51+
git -C llvm-test-suite fetch --prune origin
5252
git -C llvm-test-suite reset --hard origin/main
5353

5454
# We unconditionally clean (i.e. don't check BUILDBOT_CLOBBER=1) as the script

0 commit comments

Comments
 (0)