[llvm] 19f100e - test-release.sh: Only build clang for stage1 and stage2
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 24 18:10:57 PST 2023
Author: Tom Stellard
Date: 2023-01-24T18:09:20-08:00
New Revision: 19f100e89ad5b62e1fca76bd9c3aceca173cb45e
URL: https://github.com/llvm/llvm-project/commit/19f100e89ad5b62e1fca76bd9c3aceca173cb45e
DIFF: https://github.com/llvm/llvm-project/commit/19f100e89ad5b62e1fca76bd9c3aceca173cb45e.diff
LOG: test-release.sh: Only build clang for stage1 and stage2
The stage1 and stage2 builds aren't packaged, so we only need to build
enough of the toolchain to build the next phase.
Reviewed By: thieta, amyk
Differential Revision: https://reviews.llvm.org/D141552
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 0c214261c2723..0818cb8613dd1 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -404,12 +404,17 @@ function configure_llvmCore() {
;;
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"
More information about the llvm-commits
mailing list