[llvm-commits] [polly] r168250 - /polly/trunk/utils/checkout_cloog.sh
Sebastian Pop
spop at codeaurora.org
Fri Nov 16 19:43:48 PST 2012
Author: spop
Date: Fri Nov 16 21:43:48 2012
New Revision: 168250
URL: http://llvm.org/viewvc/llvm-project?rev=168250&view=rev
Log:
utils: remove existing cloog and isl dirs before git cloning
Patch adapted from "Dmitry N. Mikushin" <maemarcus at gmail.com>.
Modified:
polly/trunk/utils/checkout_cloog.sh
Modified: polly/trunk/utils/checkout_cloog.sh
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/utils/checkout_cloog.sh?rev=168250&r1=168249&r2=168250&view=diff
==============================================================================
--- polly/trunk/utils/checkout_cloog.sh (original)
+++ polly/trunk/utils/checkout_cloog.sh Fri Nov 16 21:43:48 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