From ca61be3ac2d18fce6c03a51b7428bbebf40e750b Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Thu, 3 Apr 2014 18:12:13 +0000 Subject: [PATCH] Add a paragraph describing how to configure the python interpreter. Contributed-by: cib123@googlemail.com llvm-svn: 205549 --- polly/www/get_started.html | 8 ++++++++ 1 file changed, 8 insertions(+) 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:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${CLOOG_INSTALL}/lib
+

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 cmake again, but with the added argument: +-DPYTHON_EXECUTABLE=/usr/bin/python2 (replace /usr/bin/python2 +with the location of the python2 interpreter under your system). + +

cmake -DCMAKE_PREFIX_PATH=${CLOOG_INSTALL} -DPYTHON_EXECUTABLE=/usr/bin/python2 ${LLVM_SRC}
+

Optional Features

Pocc