[polly] r352514 - Adjust documentation for git migration.
James Y Knight via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 29 08:37:28 PST 2019
Author: jyknight
Date: Tue Jan 29 08:37:27 2019
New Revision: 352514
URL: http://llvm.org/viewvc/llvm-project?rev=352514&view=rev
Log:
Adjust documentation for git migration.
This fixes most references to the paths:
llvm.org/svn/
llvm.org/git/
llvm.org/viewvc/
github.com/llvm-mirror/
github.com/llvm-project/
reviews.llvm.org/diffusion/
to instead point to https://github.com/llvm/llvm-project.
This is *not* a trivial substitution, because additionally, all the
checkout instructions had to be migrated to instruct users on how to
use the monorepo layout, setting LLVM_ENABLE_PROJECTS instead of
checking out various projects into various subdirectories.
I've attempted to not change any scripts here, only documentation. The
scripts will have to be addressed separately.
Additionally, I've deleted one document which appeared to be outdated
and unneeded:
lldb/docs/building-with-debug-llvm.txt
Differential Revision: https://reviews.llvm.org/D57330
Modified:
polly/trunk/docs/TipsAndTricks.rst
polly/trunk/www/get_started.html
polly/trunk/www/menu.html.incl
polly/trunk/www/todo.html
Modified: polly/trunk/docs/TipsAndTricks.rst
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/docs/TipsAndTricks.rst?rev=352514&r1=352513&r2=352514&view=diff
==============================================================================
--- polly/trunk/docs/TipsAndTricks.rst (original)
+++ polly/trunk/docs/TipsAndTricks.rst Tue Jan 29 08:37:27 2019
@@ -47,7 +47,7 @@ version history is the standard approach
the regression.
LLVM has a single repository that contains all projects. It can be cloned at:
-`<https://github.com/llvm-project/llvm-project-20170507>`_. How to bisect on a
+`<https://github.com/llvm/llvm-project>`_. How to bisect on a
git repository is explained here
`<https://www.metaltoad.com/blog/beginners-guide-git-bisect-process-elimination>`_.
The bisect process can also be automated as explained here:
Modified: polly/trunk/www/get_started.html
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/www/get_started.html?rev=352514&r1=352513&r2=352514&view=diff
==============================================================================
--- polly/trunk/www/get_started.html (original)
+++ polly/trunk/www/get_started.html Tue Jan 29 08:37:27 2019
@@ -33,20 +33,14 @@ chmod +x polly.sh
<h2> Manual </h2>
<h3 id="source"> Get the code </h3>
-<p><b>Warning:</b> Polly/LLVM/clang need to be checked out at the same time.</p>
-
<pre>
-git clone http://llvm.org/git/llvm.git llvm_git
-git clone http://llvm.org/git/polly.git llvm_git/tools/polly
-
-# Also build the matching clang-version (optional)
-git clone http://llvm.org/git/clang.git llvm_git/tools/clang
+git clone http://github.com/llvm/llvm-project.git llvm_git
</pre>
<h3 id="build">Build Polly</h3>
<pre>
mkdir llvm_build && cd llvm_build
-cmake ../llvm_git && make
+cmake -DLLVM_ENABLE_PROJECTS='polly;clang' ../llvm_git/llvm && make
</pre>
<h3> Test Polly</h3>
@@ -59,7 +53,7 @@ also building LLVM. All you need is an i
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>
+<pre>cmake -DCMAKE_PREFIX_PATH=${LLVM_PREFIX}/lib/cmake/llvm ../llvm_git/polly</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
Modified: polly/trunk/www/menu.html.incl
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/www/menu.html.incl?rev=352514&r1=352513&r2=352514&view=diff
==============================================================================
--- polly/trunk/www/menu.html.incl (original)
+++ polly/trunk/www/menu.html.incl Tue Jan 29 08:37:27 2019
@@ -34,7 +34,7 @@ Optimizations</span></h2>
<a href="http://lab.llvm.org:8080/coverage/coverage-reports/polly/index.html">Code Coverage</a>
<a href="http://llvm.org/reports/scan-build/">Static analysis</a>
<a href="/doxygen/">Doxygen</a>
- <a href="https://github.com/llvm-mirror/polly">Source @ GitHub</a>
+ <a href="https://github.com/llvm/llvm-project/tree/master/polly">Source @ GitHub</a>
</div>
<div class="submenu">
Modified: polly/trunk/www/todo.html
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/www/todo.html?rev=352514&r1=352513&r2=352514&view=diff
==============================================================================
--- polly/trunk/www/todo.html (original)
+++ polly/trunk/www/todo.html Tue Jan 29 08:37:27 2019
@@ -413,12 +413,6 @@ href="http://llvm.org/svn/llvm-project/p
</td></tr>
<tr>
-<th align="left"> Git mirror
-</th><td class="done" align="center">
-git://llvm.org/git/polly.git
-</td><td> Tobias
-</td></tr>
-<tr>
<th align="left"> Commit mails
</th><td class="done" align="center">
llvm-commits at lists.llvm.org
More information about the llvm-commits
mailing list