[PATCH] D88990: Update documentation on stage3 cmake build

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 11:01:30 PDT 2020


serge-sans-paille created this revision.
serge-sans-paille added a reviewer: beanz.
Herald added subscribers: llvm-commits, dexonsmith, mgorny.
Herald added a project: LLVM.
serge-sans-paille requested review of this revision.

Have the build work out of the box by forcing an LLD build. That way, we don't require an external LTO-aware linker, as we build one.
Also remove reference to the seemingly dead builder.


https://reviews.llvm.org/D88990

Files:
  clang/cmake/caches/3-stage-base.cmake
  llvm/docs/AdvancedBuilds.rst


Index: llvm/docs/AdvancedBuilds.rst
===================================================================
--- llvm/docs/AdvancedBuilds.rst
+++ llvm/docs/AdvancedBuilds.rst
@@ -186,8 +186,6 @@
 .. code-block:: console
 
   $ cmake -G Ninja -C <path_to_clang>/cmake/caches/3-stage.cmake <source dir>
-  $ ninja stage3
+  $ cmake --build . --target stage3 --parallel
 
-After the build you can compare the stage2 & stage3 compilers. We have a bot
-setup `here <http://lab.llvm.org:8011/builders/clang-3stage-ubuntu>`_ that runs
-this build and compare configuration.
+After the build you can compare the stage2 & stage3 compilers.
Index: clang/cmake/caches/3-stage-base.cmake
===================================================================
--- clang/cmake/caches/3-stage-base.cmake
+++ clang/cmake/caches/3-stage-base.cmake
@@ -2,6 +2,8 @@
 set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
 set(LLVM_BUILD_EXTERNAL_COMPILER_RT ON CACHE BOOL "")
 set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
+set(BOOTSTRAP_LLVM_ENABLE_LLD ON CACHE BOOL "")
+
 
 set(CLANG_BOOTSTRAP_TARGETS
   clang


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88990.296743.patch
Type: text/x-patch
Size: 1080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201007/b051a305/attachment.bin>


More information about the llvm-commits mailing list