diff --git a/clang/docs/HowToSetupToolingForLLVM.rst b/clang/docs/HowToSetupToolingForLLVM.rst --- a/clang/docs/HowToSetupToolingForLLVM.rst +++ b/clang/docs/HowToSetupToolingForLLVM.rst @@ -143,7 +143,7 @@ Using Ninja Build System ======================================= -Optionally you can use the `Ninja `_ +Optionally you can use the `Ninja `_ build system instead of make. It is aimed at making your builds faster. Currently this step will require building Ninja from sources. @@ -154,9 +154,9 @@ .. code-block:: console - $ git clone git://github.com/martine/ninja.git + $ git clone git://github.com/ninja-build/ninja.git $ cd ninja/ - $ ./bootstrap.py + $ ./configure.py --bootstrap This will result in a single binary ``ninja`` in the current directory. It doesn't require installation and can just be copied to any location @@ -165,7 +165,6 @@ .. code-block:: console $ sudo cp ninja /usr/local/bin/ - $ sudo chmod a+rx /usr/local/bin/ninja After doing all of this, you'll need to generate Ninja build files for LLVM with CMake. You need to make a build directory and run CMake from diff --git a/clang/docs/LibASTMatchersTutorial.rst b/clang/docs/LibASTMatchersTutorial.rst --- a/clang/docs/LibASTMatchersTutorial.rst +++ b/clang/docs/LibASTMatchersTutorial.rst @@ -30,11 +30,9 @@ .. code-block:: console cd ~/clang-llvm - git clone https://github.com/martine/ninja.git - cd ninja - git checkout release - ./bootstrap.py - sudo cp ninja /usr/bin/ + git clone git://github.com/ninja-build/ninja.git + ./configure.py --bootstrap + sudo cp ninja /usr/local/bin/ cd ~/clang-llvm git clone git://cmake.org/stage/cmake.git