diff options
author | Philip Pfaffe <philip.pfaffe@gmail.com> | 2017-07-11 20:37:28 +0000 |
---|---|---|
committer | Philip Pfaffe <philip.pfaffe@gmail.com> | 2017-07-11 20:37:28 +0000 |
commit | e12d036d13b3c86c05639ac7696ebee2fd90344b (patch) | |
tree | e8b098dd5122395dbf5086a6914b175f9a797571 /polly | |
parent | 9a1898768f16607e1a046007f4a127e45b3d713c (diff) | |
download | llvm-e12d036d13b3c86c05639ac7696ebee2fd90344b.zip llvm-e12d036d13b3c86c05639ac7696ebee2fd90344b.tar.gz llvm-e12d036d13b3c86c05639ac7696ebee2fd90344b.tar.bz2 |
[WWW] Add a section to Getting Started about building out-of-tree
llvm-svn: 307704
Diffstat (limited to 'polly')
-rw-r--r-- | polly/www/get_started.html | 12 |
1 files changed, 12 insertions, 0 deletions
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 <pre>make check-polly</pre> +<h3>Building Polly Without LLVM</h3> +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 +<code>-DCMAKE_PREFIX_PATH</code> option: + +<pre>cmake -DCMAKE_PREFIX_PATH=${LLVM_PREFIX}/lib/cmake/llvm</pre> + +To run unittests, however, you need to have the LLVM source directory around. +Polly will use the <code>llvm-config</code> of the LLVM you're building against +to guess the location of the source directory. You may override autodetected +location by setting the <code>-DLLVM_SOURCE_ROOT</code> option. <h3> Troubleshooting</h3> |