[PATCH] D141552: test-release.sh: Only build clang for stage1 and stage2
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 15:54:15 PST 2023
tstellar created this revision.
tstellar added reviewers: thieta, amyk, dim, hans, omjavaid.
Herald added a project: All.
tstellar requested review of this revision.
Herald added a project: LLVM.
The stage1 and stage2 builds aren't packaged, so we only need to build
enough of the toolchain to build the next phase.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141552
Files:
llvm/utils/release/test-release.sh
Index: llvm/utils/release/test-release.sh
===================================================================
--- llvm/utils/release/test-release.sh
+++ llvm/utils/release/test-release.sh
@@ -404,12 +404,17 @@
;;
esac
- project_list=${projects// /;}
- # Leading spaces will result in ";<runtime name>". This causes a CMake
- # error because the empty string before the first ';' is treated as an
- # unknown runtime name.
- runtimes=$(echo $runtimes | sed -e 's/^\s*//')
- runtime_list=${runtimes// /;}
+ if [ "$Phase" -eq "3" ]; then
+ project_list=${projects// /;}
+ # Leading spaces will result in ";<runtime name>". This causes a CMake
+ # error because the empty string before the first ';' is treated as an
+ # unknown runtime name.
+ runtimes=$(echo $runtimes | sed -e 's/^\s*//')
+ runtime_list=${runtimes// /;}
+ else
+ project_list="clang"
+ runtime_list=""
+ fi
echo "# Using C compiler: $c_compiler"
echo "# Using C++ compiler: $cxx_compiler"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141552.488406.patch
Type: text/x-patch
Size: 1054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230111/dd9ddc2f/attachment.bin>
More information about the llvm-commits
mailing list