[llvm] r244058 - test-release.sh: Fix naming of OpenMP runtime tarball

Hans Wennborg hans at hanshq.net
Wed Aug 5 08:36:07 PDT 2015


Author: hans
Date: Wed Aug  5 10:36:07 2015
New Revision: 244058

URL: http://llvm.org/viewvc/llvm-project?rev=244058&view=rev
Log:
test-release.sh: Fix naming of OpenMP runtime tarball

Modified:
    llvm/trunk/utils/release/test-release.sh

Modified: llvm/trunk/utils/release/test-release.sh
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/release/test-release.sh?rev=244058&r1=244057&r2=244058&view=diff
==============================================================================
--- llvm/trunk/utils/release/test-release.sh (original)
+++ llvm/trunk/utils/release/test-release.sh Wed Aug  5 10:36:07 2015
@@ -470,7 +470,12 @@ function build_OpenMP() {
     echo "# ${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
     cd $BuildDir
     tar cvfJ $BuildDir/$OpenMPPackage.tar.xz $OpenMPPackage




More information about the llvm-commits mailing list