diff options
| author | Sebastian Pop <spop@codeaurora.org> | 2012-11-17 03:43:48 +0000 |
|---|---|---|
| committer | Sebastian Pop <spop@codeaurora.org> | 2012-11-17 03:43:48 +0000 |
| commit | 0dace3939d9b90e7dda018c0731dafe3583b6d83 (patch) | |
| tree | e64e835bb65b6b9cb3554fc7cbb4e8279b6ec909 | |
| parent | bb1b351860d4d86f10e3301861248ba87fb99f4b (diff) | |
| download | bcm5719-llvm-0dace3939d9b90e7dda018c0731dafe3583b6d83.tar.gz bcm5719-llvm-0dace3939d9b90e7dda018c0731dafe3583b6d83.zip | |
utils: remove existing cloog and isl dirs before git cloning
Patch adapted from "Dmitry N. Mikushin" <maemarcus@gmail.com>.
llvm-svn: 168250
| -rwxr-xr-x | polly/utils/checkout_cloog.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/polly/utils/checkout_cloog.sh b/polly/utils/checkout_cloog.sh index 971c02782f0..27c977ae3db 100755 --- a/polly/utils/checkout_cloog.sh +++ b/polly/utils/checkout_cloog.sh @@ -65,6 +65,8 @@ ISL_DIR=${CLOOG_DIR}/isl 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 |

