Skip to content

Commit f6ac598

Browse files
authored
[Release] Don't build during test-release.sh Phase 3 install (llvm#82001)
As described in [test-release.sh ninja install does builds in Phase 3](llvm#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`.
1 parent 7661ade commit f6ac598

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/utils/release/test-release.sh

+5
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,11 @@ function build_llvmCore() {
537537
InstallTarget="$InstallTarget install-builtins"
538538
fi
539539
fi
540+
if [ "$Phase" -eq "3" ]; then
541+
# Build everything at once, with the proper parallelism and verbosity,
542+
# in Phase 3.
543+
BuildTarget=
544+
fi
540545

541546
cd $ObjDir
542547
echo "# Compiling llvm $Release-$RC $Flavor"

0 commit comments

Comments
 (0)