From e12d036d13b3c86c05639ac7696ebee2fd90344b Mon Sep 17 00:00:00 2001 From: Philip Pfaffe Date: Tue, 11 Jul 2017 20:37:28 +0000 Subject: [WWW] Add a section to Getting Started about building out-of-tree llvm-svn: 307704 --- polly/www/get_started.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'polly') diff --git a/polly/www/get_started.html b/polly/www/get_started.html index 2dac41c..5d2caba 100644 --- a/polly/www/get_started.html +++ b/polly/www/get_started.html @@ -53,6 +53,18 @@ cmake ../llvm_git && make
make check-polly
+

Building Polly Without LLVM

+It is also possible to build Polly without +also building LLVM. All you need is an installed version of LLVM or a previous +build. To configure Polly to use a pre-built LLVM, set the +-DCMAKE_PREFIX_PATH option: + +
cmake -DCMAKE_PREFIX_PATH=${LLVM_PREFIX}/lib/cmake/llvm
+ +To run unittests, however, you need to have the LLVM source directory around. +Polly will use the llvm-config of the LLVM you're building against +to guess the location of the source directory. You may override autodetected +location by setting the -DLLVM_SOURCE_ROOT option.

Troubleshooting

-- cgit v1.1