[PATCH] D118357: [test-release.sh] Set TEST_SUITE_HOST_CC to the release testing build compiler when compiling test-suite tools.
Amy Kwan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 3 19:32:08 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG413b35cd74e4: [test-release.sh] Set TEST_SUITE_HOST_CC to the release testing build compiler… (authored by amyk).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118357/new/
https://reviews.llvm.org/D118357
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
@@ -452,7 +452,8 @@
if [ $do_test_suite = 'yes' ]; then
cd $TestSuiteBuildDir
env CC="$c_compiler" CXX="$cxx_compiler" \
- cmake $TestSuiteSrcDir -G "$generator" -DTEST_SUITE_LIT=$Lit
+ cmake $TestSuiteSrcDir -G "$generator" -DTEST_SUITE_LIT=$Lit \
+ -DTEST_SUITE_HOST_CC=$build_compiler
if ! ( ${MAKE} -j $NumJobs $KeepGoing check \
2>&1 | tee $LogDir/llvm.check-Phase$Phase-$Flavor.log ) ; then
@@ -548,6 +549,8 @@
c_compiler="$CC"
cxx_compiler="$CXX"
+ build_compiler="$CC"
+ [[ -z "$build_compiler" ]] && build_compiler="cc"
llvmCore_phase1_objdir=$BuildDir/Phase1/$Flavor/llvmCore-$Release-$RC.obj
llvmCore_phase1_destdir=$BuildDir/Phase1/$Flavor/llvmCore-$Release-$RC.install
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118357.405857.patch
Type: text/x-patch
Size: 972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220204/f4718ca8/attachment.bin>
More information about the llvm-commits
mailing list