From 366a52e9ab9dc80eb5b40606828a70bf706d7665 Mon Sep 17 00:00:00 2001 From: Adrian McCarthy Date: Wed, 20 Apr 2016 16:43:34 +0000 Subject: [PATCH] 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266887 91177308-0d34-0410-b5e6-96231b3b80d8 --- www/get_started.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/www/get_started.html b/www/get_started.html index 1b44152a00..0039b56030 100644 --- a/www/get_started.html +++ b/www/get_started.html @@ -47,20 +47,20 @@ follows:

http://www.cmake.org/download -
  • Checkout LLVM: +
  • Check out LLVM:
  • -
  • Checkout Clang: +
  • Check out Clang:
  • -
  • Checkout extra Clang Tools: (optional) +
  • Check out extra Clang tools: (optional)
  • -
  • Checkout Compiler-RT (optional): +
  • Check out Compiler-RT (optional):
    • cd llvm/projects
    • svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk @@ -76,7 +76,7 @@ follows:

    • cd ../..
  • -
  • Checkout libcxx: (only required to build and run Compiler-RT tests on OS X, optional otherwise) +
  • Check out libcxx: (only required to build and run Compiler-RT tests on OS X, optional otherwise)
    • cd llvm/projects
    • svn co http://llvm.org/svn/llvm-project/libcxx/trunk @@ -124,13 +124,13 @@ follows:

      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.

      - +

      Simultaneously Building Clang and LLVM:

      Once you have checked out Clang into the llvm source tree it will build along with the rest of llvm. To build all of LLVM and Clang together all at once simply run make from the root LLVM directory.

      - +

      Note: 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:

  • -
  • Checkout LLVM: +
  • Check out LLVM:
    • svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
  • -
  • Checkout Clang: +
  • Check out Clang:
    • cd llvm\tools
    • svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
    +

    Note: 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 core.autocrlf setting is false.

  • Run CMake to generate the Visual Studio solution and project files:
      -- 2.40.0