From 934efa2ca5605018f7bc0c21b196dae28b4887e8 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Wed, 5 Oct 2011 23:11:17 +0000 Subject: [PATCH] checkout_cloog: Fix this script to run on our buildbot. llvm-svn: 141242 --- polly/utils/checkout_cloog.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/polly/utils/checkout_cloog.sh b/polly/utils/checkout_cloog.sh index 2bb47c356b80..90d86e30a85b 100755 --- a/polly/utils/checkout_cloog.sh +++ b/polly/utils/checkout_cloog.sh @@ -13,21 +13,21 @@ check_command_line() { } check_cloog_directory() { - if not [ -e ${CLOOG_DIR} ] + if ! [ -e ${CLOOG_DIR} ] then echo :: Directory "'${CLOOG_DIR}'" does not exists. Trying to create it. - if not mkdir -p "${CLOOG_DIR}" + if ! mkdir -p "${CLOOG_DIR}" then exit 1 fi fi - if not [ -d ${CLOOG_DIR} ] + if ! [ -d ${CLOOG_DIR} ] then echo "'${CLOOG_DIR}'" is not a directory exit 1 fi - if not [ -e "${CLOOG_DIR}/.git" ] + if ! [ -e "${CLOOG_DIR}/.git" ] then IS_GIT=0 echo ":: No git checkout found" @@ -66,9 +66,8 @@ cd ${CLOOG_DIR} if [ ${IS_GIT} -eq 0 ] then echo :: Performing initial checkout - run git clone git://repo.or.cz/cloog.git . - run git submodule init - run git submodule update + run git clone http://repo.or.cz/r/cloog.git . + run git clone http://repo.or.cz/r/isl.git isl fi echo :: Fetch versions required by Polly @@ -77,6 +76,7 @@ run git reset --hard "${CLOOG_HASH}" run cd isl run git remote update run git reset --hard "${ISL_HASH}" +run cd .. echo :: Generating configure run ./autogen.sh