From b4e00d60977b7660f58d79d80e4cb1dddbbdc948 Mon Sep 17 00:00:00 2001 From: Philip Pfaffe Date: Tue, 11 Jul 2017 20:37:28 +0000 Subject: [PATCH] [WWW] Add a section to Getting Started about building out-of-tree git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@307704 91177308-0d34-0410-b5e6-96231b3b80d8 --- www/get_started.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/www/get_started.html b/www/get_started.html index 2dac41cd..5d2caba0 100644 --- a/www/get_started.html +++ b/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

-- 2.11.4.GIT