[PATCH] D117062: [BOLT] Updated README build instructions assuming BOLT is in monorepo

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 11 15:51:39 PST 2022


Amir created this revision.
Amir requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Mehdi spotted that our build instructions wouldn't make sense in monorepo:
https://github.com/facebookincubator/BOLT/pull/269.
Updated the instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117062

Files:
  bolt/README.md


Index: bolt/README.md
===================================================================
--- bolt/README.md
+++ bolt/README.md
@@ -46,22 +46,19 @@
 tools. The build process is not much different from a regular LLVM build.
 The following instructions are assuming that you are running under Linux.
 
-Start with cloning LLVM and BOLT repos:
+Start with cloning LLVM repo:
 
 ```
-> git clone https://github.com/facebookincubator/BOLT llvm-bolt
+> git clone https://github.com/llvm/llvm-project.git
 > mkdir build
 > cd build
-> cmake -G Ninja ../llvm-bolt/llvm -DLLVM_TARGETS_TO_BUILD="X86;AArch64" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_PROJECTS="clang;lld;bolt"
-> ninja
+> cmake -G Ninja ../llvm-project/llvm -DLLVM_TARGETS_TO_BUILD="X86;AArch64" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_PROJECTS="clang;lld;bolt"
+> ninja bolt
 ```
 
 `llvm-bolt` will be available under `bin/`. Add this directory to your path to
 ensure the rest of the commands in this tutorial work.
 
-Note that we use a specific snapshot of LLVM monorepo as we currently
-rely on a set of patches that are not yet upstreamed.
-
 ## Optimizing BOLT's Performance
 
 BOLT runs many internal passes in parallel. If you foresee heavy usage of


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117062.399105.patch
Type: text/x-patch
Size: 1273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220111/6df4e965/attachment.bin>


More information about the llvm-commits mailing list