summaryrefslogtreecommitdiffstats
path: root/polly
diff options
context:
space:
mode:
Diffstat (limited to 'polly')
-rw-r--r--polly/www/get_started.html9
-rw-r--r--polly/www/polly.sh5
2 files changed, 14 insertions, 0 deletions
diff --git a/polly/www/get_started.html b/polly/www/get_started.html
index 9df984f9214..72a4b75adc0 100644
--- a/polly/www/get_started.html
+++ b/polly/www/get_started.html
@@ -27,17 +27,26 @@ directory of the llvm sources.
export BASE=`pwd`
export LLVM_SRC=${BASE}/llvm
export POLLY_SRC=${LLVM_SRC}/tools/polly
+
+# Also build the matching clang-version (optional)
+export CLANG_SRC=${LLVM_SRC}/tools/clang
</pre>
<h4>SVN</h4>
<pre>
svn checkout http://llvm.org/svn/llvm-project/llvm/trunk ${LLVM_SRC}
svn checkout http://llvm.org/svn/llvm-project/polly/trunk ${POLLY_SRC}
+
+# Also build the matching clang-version (optional)
+svn checkout http://llvm.org/svn/llvm-project/clang/trunk ${CLANG_SRC}
</pre>
<h4>GIT</h4>
<pre>
git clone http://llvm.org/git/llvm.git ${LLVM_SRC}
git clone http://llvm.org/git/polly.git ${POLLY_SRC}
+
+# Also build the matching clang-version (optional)
+git clone http://llvm.org/git/clang.git ${CLANG_SRC}
</pre>
<h2 id="prerequisites"> Prerequisites </h2>
<ul>
diff --git a/polly/www/polly.sh b/polly/www/polly.sh
index 88d286de6fb..bf81c06d74b 100644
--- a/polly/www/polly.sh
+++ b/polly/www/polly.sh
@@ -3,6 +3,7 @@
export BASE=`pwd`
export LLVM_SRC=${BASE}/llvm
export POLLY_SRC=${LLVM_SRC}/tools/polly
+export CLANG_SRC=${LLVM_SRC}/tools/clang
export CLOOG_SRC=${BASE}/cloog_src
export CLOOG_INSTALL=${BASE}/cloog_install
export LLVM_BUILD=${BASE}/llvm_build
@@ -23,6 +24,10 @@ if ! test -d ${POLLY_SRC}; then
git clone http://llvm.org/git/polly.git ${POLLY_SRC}
fi
+if ! test -d ${POLLY_SRC}; then
+ git clone http://llvm.org/git/clang.git ${CLANG_SRC}
+fi
+
${POLLY_SRC}/utils/checkout_cloog.sh ${CLOOG_SRC}
cd ${CLOOG_SRC}
OpenPOWER on IntegriCloud