diff options
| author | Duncan Sands <baldrick@free.fr> | 2011-10-20 20:10:58 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2011-10-20 20:10:58 +0000 |
| commit | 9341b50c07e4bf4aea7e675f6c11ebfa6819c6f9 (patch) | |
| tree | eea58506b20219494382cdceee54684bc1088129 /llvm/utils | |
| parent | 77a0eb20ab79bdcbc8c5c247cbe398f446b40d96 (diff) | |
| download | bcm5719-llvm-9341b50c07e4bf4aea7e675f6c11ebfa6819c6f9.tar.gz bcm5719-llvm-9341b50c07e4bf4aea7e675f6c11ebfa6819c6f9.zip | |
Reset the system compiler each time we start a new flavour. Otherwise
the last compiler built for the previous flavour is used for the next,
for example the Debug clang compiler was being used for the initial build
of the Release LLVM. Flavors should be independent of each other. This
especially matters if the compiler built for the previous flavour doesn't
actually work!
llvm-svn: 142607
Diffstat (limited to 'llvm/utils')
| -rwxr-xr-x | llvm/utils/release/test-release.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh index 7d56f3872c7..eb6f9d96f4f 100755 --- a/llvm/utils/release/test-release.sh +++ b/llvm/utils/release/test-release.sh @@ -151,8 +151,6 @@ LogDir=$BuildDir/logs mkdir -p $LogDir # Find compilers. -c_compiler="$CC" -cxx_compiler="$CXX" if [ "$do_dragonegg" = "yes" ]; then gcc_compiler="$GCC" if [ -z "$gcc_compiler" ]; then @@ -339,6 +337,9 @@ for Flavor in $Flavors ; do echo "********************************************************************************" echo "" + c_compiler="$CC" + cxx_compiler="$CXX" + llvmCore_phase1_objdir=$BuildDir/Phase1/$Flavor/llvmCore-$Release-rc$RC.obj llvmCore_phase1_installdir=$BuildDir/Phase1/$Flavor/llvmCore-$Release-rc$RC.install dragonegg_phase1_objdir=$BuildDir/Phase1/$Flavor/DragonEgg-$Release-rc$RC.obj |

