Author: Rainer Orth Date: 2024-02-20T17:57:11-08:00 New Revision: bba39443eb918f842502ee2315306a6e811e1987
URL: https://github.com/llvm/llvm-project/commit/bba39443eb918f842502ee2315306a6e811e1987 DIFF: https://github.com/llvm/llvm-project/commit/bba39443eb918f842502ee2315306a6e811e1987.diff LOG: [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) Added: Modified: llvm/utils/release/test-release.sh Removed: ################################################################################ diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh index 5b1945df47d24a..0af16387ce1d8e 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" _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits