diff options
| -rw-r--r-- | polly/www/example_load_Polly_into_clang.html | 10 | ||||
| -rw-r--r-- | polly/www/index.html | 11 |
2 files changed, 20 insertions, 1 deletions
diff --git a/polly/www/example_load_Polly_into_clang.html b/polly/www/example_load_Polly_into_clang.html index 5f816bc233c..1fa7b711cd5 100644 --- a/polly/www/example_load_Polly_into_clang.html +++ b/polly/www/example_load_Polly_into_clang.html @@ -26,6 +26,9 @@ href="bugs.html">Bug database</a> and consider reporting a bug. you need to compile them yourself from a recent svn/git checkout</b> <h2>Load Polly into clang</h2> +By default Polly is configured as a shared library plugin that is loaded in +tools like clang, opt, and bugpoint when they start their execution. + By loading Polly into clang (or opt) the Polly options become automatically available. You can load Polly either by adding the relevant commands to the CPPFLAGS or by creating an alias. @@ -39,6 +42,13 @@ or $ alias pollycc clang -Xclang -load -Xclang ${POLLY_BUILD_DIR}/lib/LLVMPolly.so </pre> +To avoid having to load Polly in the tools, Polly can optionally be configured +with cmake to be statically linked in the tools: + +<pre class="code"> +$ cmake -D LINK_POLLY_INTO_TOOLS:Bool=ON +</pre> + <h2>Optimizing with Polly</h2> Optimizing with Polly is as easy as adding <b>-O3 -mllvm -polly</b> to your diff --git a/polly/www/index.html b/polly/www/index.html index a7042fa85cb..87bb7ec71b8 100644 --- a/polly/www/index.html +++ b/polly/www/index.html @@ -73,6 +73,15 @@ <table id="news"> <tr><td><b>2014</b></td></tr> + <tr><td width="120"><p>March</p></td> + <td> + <h4>Static link Polly into tools</h4> Polly can now be configured with 'cmake + -D LINK_POLLY_INTO_TOOLS:Bool=ON' to be statically linked in the tools (opt, + bugpoint, and clang.) This makes it easier to use polly without having to load + a shared library, and it also reduces the complexity of compiling Polly on + Windows. + </td> + </tr> <tr><td width="120"><p>February</p></td> <td> <h4>Polly presentation at FOSDEM 2014</h4> Polly was <a @@ -82,7 +91,7 @@ The set of <a href="http://lab.llvm.org:8011/console?category=polly">Polly buildbots</a> has been extended. We now have 16 new blades that track correctness and performance when compiling the LLVM test-suite. For now five - of of them are used to provide <a + of them are used to provide <a href="http://llvm.org/perf/db_default/v4/nts/22463">fine granularity reports</a> (almost per-commit) for 'clang -O3' (no polly). We also have six machines that track different |

