[compiler-rt] 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:
compiler-rt/trunk/include/sanitizer/tsan_interface_atomic.h
compiler-rt/trunk/lib/tsan/rtl/tsan_interface.h
compiler-rt/trunk/www/index.html
compiler-rt/trunk/www/menu.html.incl
Modified: compiler-rt/trunk/include/sanitizer/tsan_interface_atomic.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/include/sanitizer/tsan_interface_atomic.h?rev=352514&r1=352513&r2=352514&view=diff
==============================================================================
--- compiler-rt/trunk/include/sanitizer/tsan_interface_atomic.h (original)
+++ compiler-rt/trunk/include/sanitizer/tsan_interface_atomic.h Tue Jan 29 08:37:27 2019
@@ -30,7 +30,7 @@ __extension__ typedef __int128 __tsan_at
#endif
// Part of ABI, do not change.
-// http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/atomic?view=markup
+// https://github.com/llvm/llvm-project/blob/master/libcxx/include/atomic
typedef enum {
__tsan_memory_order_relaxed,
__tsan_memory_order_consume,
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interface.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interface.h?rev=352514&r1=352513&r2=352514&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interface.h (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interface.h Tue Jan 29 08:37:27 2019
@@ -199,7 +199,7 @@ __extension__ typedef __int128 a128;
#endif
// Part of ABI, do not change.
-// http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/atomic?view=markup
+// https://github.com/llvm/llvm-project/blob/master/libcxx/include/atomic
typedef enum {
mo_relaxed,
mo_consume,
Modified: compiler-rt/trunk/www/index.html
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/www/index.html?rev=352514&r1=352513&r2=352514&view=diff
==============================================================================
--- compiler-rt/trunk/www/index.html (original)
+++ compiler-rt/trunk/www/index.html Tue Jan 29 08:37:27 2019
@@ -109,16 +109,20 @@
<h2>Get it and get involved!</h2>
<!--=====================================================================-->
- <p>Generally, you need to build LLVM/Clang in order to build compiler-rt. You can
- either follow the Clang's
- <a href="http://clang.llvm.org/get_started.html">Getting Started</a> page, or
+ <p>Generally, you need to build LLVM/Clang in order to build compiler-rt. You
+ can build it either together with llvm and clang, or separately.
+
+ <p>To build it together, simply add compiler-rt to the -DLLVM_ENABLE_PROJECTS= option to
+ cmake.
+
+ <p>To build it separately, first
<a href="http://llvm.org/docs/CMake.html#quick-start">build LLVM</a>
separately to get llvm-config binary, and then run:
<ul>
- <li>svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt</li>
- <li>mkdir build</li>
- <li>cd build</li>
+ <li>cd llvm-project</li>
+ <li>mkdir build-compiler-rt</li>
+ <li>cd build-compiler-rt</li>
<li>cmake ../compiler-rt -DLLVM_CONFIG_PATH=/path/to/llvm-config</li>
<li>make</li>
</ul>
Modified: compiler-rt/trunk/www/menu.html.incl
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/www/menu.html.incl?rev=352514&r1=352513&r2=352514&view=diff
==============================================================================
--- compiler-rt/trunk/www/menu.html.incl (original)
+++ compiler-rt/trunk/www/menu.html.incl Tue Jan 29 08:37:27 2019
@@ -13,7 +13,6 @@
<a href="http://lists.llvm.org/mailman/listinfo/llvm-dev">llvm-dev</a>
<a href="http://lists.llvm.org/mailman/listinfo/llvm-commits">llvm-commits</a>
<a href="http://llvm.org/bugs/">Bug Reports</a>
- <a href="http://llvm.org/svn/llvm-project/compiler-rt/trunk/">Browse SVN</a>
- <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/">Browse ViewVC</a>
+ <a href="https://github.com/llvm/llvm-project/tree/master/compiler-rt/">Browse Sources</a>
</div>
</div>
More information about the llvm-commits
mailing list