[llvm] ee4ac3a - doc: update of the adv build doc now that clang is in tree too

Sylvestre Ledru via llvm-commits llvm-commits at lists.llvm.org
Sun May 1 14:00:11 PDT 2022


Author: Sylvestre Ledru
Date: 2022-05-01T22:59:49+02:00
New Revision: ee4ac3a856a6cfc78a0d2ff062cac9a201dee8c3

URL: https://github.com/llvm/llvm-project/commit/ee4ac3a856a6cfc78a0d2ff062cac9a201dee8c3
DIFF: https://github.com/llvm/llvm-project/commit/ee4ac3a856a6cfc78a0d2ff062cac9a201dee8c3.diff

LOG: doc: update of the adv build doc now that clang is in tree too
And be more consistent in the declarations

Added: 
    

Modified: 
    llvm/docs/AdvancedBuilds.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/AdvancedBuilds.rst b/llvm/docs/AdvancedBuilds.rst
index 1781726741f29..3edfca35a7c8d 100644
--- a/llvm/docs/AdvancedBuilds.rst
+++ b/llvm/docs/AdvancedBuilds.rst
@@ -81,7 +81,7 @@ You can build an Apple Clang compiler using the following commands:
 
 .. code-block:: console
 
-  $ cmake -G Ninja -C <path to clang>/cmake/caches/Apple-stage1.cmake <path to source>
+  $ cmake -G Ninja -C <path to source>/clang/cmake/caches/Apple-stage1.cmake <path to source>
   $ ninja stage2-distribution
 
 This CMake invocation configures the stage1 host compiler, and sets
@@ -115,7 +115,7 @@ running:
 
 .. code-block:: console
 
-  $ cmake -G Ninja -C <path_to_clang>/cmake/caches/PGO.cmake <source dir>
+  $ cmake -G Ninja -C <path to source>/clang/cmake/caches/PGO.cmake <path to source>
   $ ninja stage2-instrumented-generate-profdata
 
 If you let that run for a few hours or so, it will place a profdata file in your
@@ -147,7 +147,7 @@ The PGO came cache generates the following additional targets:
 
 **stage2-instrumented-generate-profdata**
   Depends on "stage2-instrumented" and will use the instrumented compiler to
-  generate profdata based on the training files in <clang>/utils/perf-training
+  generate profdata based on the training files in clang/utils/perf-training
 
 **stage2**
   Depends of "stage2-instrumented-generate-profdata" and will use the stage1
@@ -185,7 +185,7 @@ following commands:
 
 .. code-block:: console
 
-  $ cmake -G Ninja -C <path_to_clang>/cmake/caches/3-stage.cmake <source dir>
+  $ cmake -G Ninja -C <path to source>/clang/cmake/caches/3-stage.cmake <path to source>
   $ cmake --build . --target stage3 --parallel
 
 After the build you can compare the stage2 & stage3 compilers.


        


More information about the llvm-commits mailing list