[polly] r205549 - Add a paragraph describing how to configure the python interpreter.
Tobias Grosser
tobias at grosser.es
Thu Apr 3 11:12:14 PDT 2014
Author: grosser
Date: Thu Apr 3 13:12:13 2014
New Revision: 205549
URL: http://llvm.org/viewvc/llvm-project?rev=205549&view=rev
Log:
Add a paragraph describing how to configure the python interpreter.
Contributed-by: cib123 at googlemail.com
Modified:
polly/trunk/www/get_started.html
Modified: polly/trunk/www/get_started.html
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/www/get_started.html?rev=205549&r1=205548&r2=205549&view=diff
==============================================================================
--- polly/trunk/www/get_started.html (original)
+++ polly/trunk/www/get_started.html Thu Apr 3 13:12:13 2014
@@ -148,6 +148,14 @@ directory of libisl/libcloog, i.e. ${CLO
<pre>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${CLOOG_INSTALL}/lib</pre>
+<p>If you get an error in one of the python files, your system probably uses python3
+as default python interpreter. This is the case, for instance, under Arch Linux.
+To solve this issue, run <code>cmake</code> again, but with the added argument:
+<code>-DPYTHON_EXECUTABLE=/usr/bin/python2</code> (replace <code>/usr/bin/python2</code>
+with the location of the python2 interpreter under your system).
+
+<pre>cmake -DCMAKE_PREFIX_PATH=${CLOOG_INSTALL} -DPYTHON_EXECUTABLE=/usr/bin/python2 ${LLVM_SRC}</pre>
+
<h2> Optional Features </h2>
<h3> Pocc </h3>
More information about the llvm-commits
mailing list