[PATCH] D117062: [BOLT] Update README build instructions
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 11 21:26:43 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG65d39942dce1: [BOLT] Update README build instructions (authored by Amir, committed by Amir Aupov <amir.aupov at gmail.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117062/new/
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="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.399198.patch
Type: text/x-patch
Size: 1263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220112/17136131/attachment.bin>
More information about the llvm-commits
mailing list