diff options
author | Tobias Grosser <tobias@grosser.es> | 2014-04-03 22:12:13 +0400 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2014-04-03 22:12:13 +0400 |
commit | ca61be3ac2d18fce6c03a51b7428bbebf40e750b (patch) | |
tree | a141eaafeff81d24e12c5050d218fb6b9fb4b05c /polly/www | |
parent | 6150990d59877bddaf07fffae6f4c1548500595e (diff) |
Add a paragraph describing how to configure the python interpreter.
Contributed-by: cib123@googlemail.com
llvm-svn: 205549
Diffstat (limited to 'polly/www')
-rw-r--r-- | polly/www/get_started.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/polly/www/get_started.html b/polly/www/get_started.html index b1e9cdfda998..920275e9979e 100644 --- a/polly/www/get_started.html +++ b/polly/www/get_started.html @@ -148,6 +148,14 @@ directory of libisl/libcloog, i.e. ${CLOOG_INSTALL}/lib, to LD_LIBRARY_PATH by: <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> |