[llvm-commits] [polly] r170730 - /polly/branches/release_32/utils/checkout_cloog.sh
Tobias Grosser
grosser at fim.uni-passau.de
Thu Dec 20 12:17:16 PST 2012
Author: grosser
Date: Thu Dec 20 14:17:16 2012
New Revision: 170730
URL: http://llvm.org/viewvc/llvm-project?rev=170730&view=rev
Log:
utils: remove existing cloog and isl dirs before git cloning
Patch adapted from "Dmitry N. Mikushin" <maemarcus at gmail.com>.
Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168250
Modified:
polly/branches/release_32/utils/checkout_cloog.sh
Modified: polly/branches/release_32/utils/checkout_cloog.sh
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/utils/checkout_cloog.sh?rev=170730&r1=170729&r2=170730&view=diff
==============================================================================
--- polly/branches/release_32/utils/checkout_cloog.sh (original)
+++ polly/branches/release_32/utils/checkout_cloog.sh Thu Dec 20 14:17:16 2012
@@ -65,6 +65,8 @@
if [ ${IS_GIT} -eq 0 ]
then
echo :: Performing initial checkout
+ # Remove the existing CLooG and ISL dirs to avoid crashing older git versions.
+ run rm -rf ${CLOOG_DIR} ${ISL_DIR}
run git clone http://repo.or.cz/r/cloog.git ${CLOOG_DIR}
run git clone http://repo.or.cz/r/isl.git ${ISL_DIR}
fi
More information about the llvm-commits
mailing list