[polly] r204265 - [www] announce static links of polly in tools

Sebastian Pop spop at codeaurora.org
Wed Mar 19 14:31:10 PDT 2014


Author: spop
Date: Wed Mar 19 16:31:09 2014
New Revision: 204265

URL: http://llvm.org/viewvc/llvm-project?rev=204265&view=rev
Log:
[www] announce static links of polly in tools

Modified:
    polly/trunk/www/example_load_Polly_into_clang.html
    polly/trunk/www/index.html

Modified: polly/trunk/www/example_load_Polly_into_clang.html
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/www/example_load_Polly_into_clang.html?rev=204265&r1=204264&r2=204265&view=diff
==============================================================================
--- polly/trunk/www/example_load_Polly_into_clang.html (original)
+++ polly/trunk/www/example_load_Polly_into_clang.html Wed Mar 19 16:31:09 2014
@@ -26,6 +26,9 @@ href="bugs.html">Bug database</a> and co
             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

Modified: polly/trunk/www/index.html
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/www/index.html?rev=204265&r1=204264&r2=204265&view=diff
==============================================================================
--- polly/trunk/www/index.html (original)
+++ polly/trunk/www/index.html Wed Mar 19 16:31:09 2014
@@ -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





More information about the llvm-commits mailing list