Add warning about CR+LF line endings on Windows.

s/checkout/check out/ when used as a verb.

Differential Revision: http://reviews.llvm.org/D19285

llvm-svn: 266887
This commit is contained in:
Adrian McCarthy 2016-04-20 16:43:34 +00:00
parent b987df4b17
commit 02d0a635d6
1 changed files with 12 additions and 9 deletions

View File

@ -47,20 +47,20 @@ follows:</p>
http://www.cmake.org/download</a></li>
</ul>
<li>Checkout LLVM:
<li>Check out LLVM:
<ul>
<li>Change directory to where you want the llvm directory placed.</li>
<li><tt>svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm</tt></li>
</ul>
</li>
<li>Checkout Clang:
<li>Check out Clang:
<ul>
<li><tt>cd llvm/tools</tt></li>
<li><tt>svn co http://llvm.org/svn/llvm-project/cfe/trunk clang</tt></li>
<li><tt>cd ../..</tt></li>
</ul>
</li>
<li>Checkout extra Clang Tools: (optional)
<li>Check out extra Clang tools: (optional)
<ul>
<li><tt>cd llvm/tools/clang/tools</tt></li>
<li><tt>svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk
@ -68,7 +68,7 @@ follows:</p>
<li><tt>cd ../../../..</tt></li>
</ul>
</li>
<li>Checkout Compiler-RT (optional):
<li>Check out Compiler-RT (optional):
<ul>
<li><tt>cd llvm/projects</tt></li>
<li><tt>svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk
@ -76,7 +76,7 @@ follows:</p>
<li><tt>cd ../..</tt></li>
</ul>
</li>
<li>Checkout libcxx: (only required to build and run Compiler-RT tests on OS X, optional otherwise)
<li>Check out libcxx: (only required to build and run Compiler-RT tests on OS X, optional otherwise)
<ul>
<li><tt>cd llvm/projects</tt></li>
<li><tt>svn co http://llvm.org/svn/llvm-project/libcxx/trunk
@ -124,13 +124,13 @@ follows:</p>
checkout is at the same revision as your Clang checkout. LLVM's interfaces
change over time, and mismatched revisions are not expected to work
together.</p>
<h3>Simultaneously Building Clang and LLVM:</h3>
<p>Once you have checked out Clang into the llvm source tree it will build along
with the rest of <tt>llvm</tt>. To build all of LLVM and Clang together all at
once simply run <tt>make</tt> from the root LLVM directory.</p>
<p><em>Note:</em> Observe that Clang is technically part of a separate
Subversion repository. As mentioned above, the latest Clang sources are tied to
the latest sources in the LLVM tree. You can update your toplevel LLVM project
@ -169,16 +169,19 @@ Visual Studio:</p>
</ul>
</li>
<li>Checkout LLVM:
<li>Check out LLVM:
<ul>
<li><tt>svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm</tt></li>
</ul>
</li>
<li>Checkout Clang:
<li>Check out Clang:
<ul>
<li><tt>cd llvm\tools</tt>
<li><tt>svn co http://llvm.org/svn/llvm-project/cfe/trunk clang</tt></li>
</ul>
<p><em>Note</em>: Some Clang tests are sensitive to the line endings. Ensure
that checking out the files does not convert LF line endings to CR+LF.
If you use git-svn, make sure your <tt>core.autocrlf</tt> setting is false.</p>
</li>
<li>Run CMake to generate the Visual Studio solution and project files:
<ul>