test-release.sh: Fix naming of OpenMP runtime tarball

llvm-svn: 244058
This commit is contained in:
Hans Wennborg 2015-08-05 15:36:07 +00:00
parent 0277edcae5
commit 83e7f1e0e9

View File

@ -470,7 +470,12 @@ function build_OpenMP() {
echo "# ${MAKE} install DESTDIR=$BuildDir/Phase3/openmp.install" echo "# ${MAKE} install DESTDIR=$BuildDir/Phase3/openmp.install"
${MAKE} install DESTDIR=$BuildDir/Phase3/openmp.install ${MAKE} install DESTDIR=$BuildDir/Phase3/openmp.install
OpenMPPackage=OpenMP-$Triple OpenMPPackage=OpenMP-$Release
if [ $RC != "final" ]; then
OpenMPPackage=$OpenMPPackage-$RC
fi
OpenMPPackage=$OpenMPPackage-$Triple
mv $BuildDir/Phase3/openmp.install/usr/local $BuildDir/$OpenMPPackage mv $BuildDir/Phase3/openmp.install/usr/local $BuildDir/$OpenMPPackage
cd $BuildDir cd $BuildDir
tar cvfJ $BuildDir/$OpenMPPackage.tar.xz $OpenMPPackage tar cvfJ $BuildDir/$OpenMPPackage.tar.xz $OpenMPPackage