aboutsummaryrefslogtreecommitdiff
path: root/llvm
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2024-02-20 07:26:48 +0100
committerTom Stellard <tstellar@redhat.com>2024-02-20 17:57:11 -0800
commitbba39443eb918f842502ee2315306a6e811e1987 (patch)
treeea75b78c6ff17d81632ebba539170da99e3d21c3 /llvm
parent94dcc1d6ae0912910c1a001da54ca64171d36374 (diff)
downloadllvm-bba39443eb918f842502ee2315306a6e811e1987.zip
llvm-bba39443eb918f842502ee2315306a6e811e1987.tar.gz
llvm-bba39443eb918f842502ee2315306a6e811e1987.tar.bz2
[Release] Don't build during test-release.sh Phase 3 install (#82001)
As described in [test-release.sh ninja install does builds in Phase 3](https://github.com/llvm/llvm-project/issues/80999), considerable parts of Phase 3 of a `test-release.sh` build are run by `ninja install`, ignoring both `$Verbose` and the parallelism set via `-j NUM`. This patches fixes this by not specifying any explicit build target for Phase 3, thus running the full build as usual. Tested on `sparc64-unknown-linux-gnu`. (cherry picked from commit f6ac598c104ed3c9f4bcbbe830f86500c8d1013e)
Diffstat (limited to 'llvm')
-rwxr-xr-xllvm/utils/release/test-release.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 5b1945d..0af1638 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -537,6 +537,11 @@ function build_llvmCore() {
InstallTarget="$InstallTarget install-runtimes"
fi
fi
+ if [ "$Phase" -eq "3" ]; then
+ # Build everything at once, with the proper parallelism and verbosity,
+ # in Phase 3.
+ BuildTarget=
+ fi
cd $ObjDir
echo "# Compiling llvm $Release-$RC $Flavor"