r266887 - Add warning about CR+LF line endings on Windows.

Adrian McCarthy via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 20 09:43:34 PDT 2016


Author: amccarth
Date: Wed Apr 20 11:43:34 2016
New Revision: 266887

URL: http://llvm.org/viewvc/llvm-project?rev=266887&view=rev
Log:
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

Modified:
    cfe/trunk/www/get_started.html

Modified: cfe/trunk/www/get_started.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/get_started.html?rev=266887&r1=266886&r2=266887&view=diff
==============================================================================
--- cfe/trunk/www/get_started.html (original)
+++ cfe/trunk/www/get_started.html Wed Apr 20 11:43:34 2016
@@ -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>




More information about the cfe-commits mailing list