[llvm-commits] [polly] r148238 - in /polly/trunk/www: get_started.html polly.sh

Tobias Grosser grosser at fim.uni-passau.de
Mon Jan 16 07:19:19 PST 2012


Author: grosser
Date: Mon Jan 16 09:19:19 2012
New Revision: 148238

URL: http://llvm.org/viewvc/llvm-project?rev=148238&view=rev
Log:
Describe how to optionally build the matching clang version.

Modified:
    polly/trunk/www/get_started.html
    polly/trunk/www/polly.sh

Modified: polly/trunk/www/get_started.html
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/www/get_started.html?rev=148238&r1=148237&r2=148238&view=diff
==============================================================================
--- polly/trunk/www/get_started.html (original)
+++ polly/trunk/www/get_started.html Mon Jan 16 09:19:19 2012
@@ -27,17 +27,26 @@
 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>

Modified: polly/trunk/www/polly.sh
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/www/polly.sh?rev=148238&r1=148237&r2=148238&view=diff
==============================================================================
--- polly/trunk/www/polly.sh (original)
+++ polly/trunk/www/polly.sh Mon Jan 16 09:19:19 2012
@@ -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 @@
     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}
 





More information about the llvm-commits mailing list