Skip to content

Commit e0e4c0c

Browse files
authored
[docs] Restructure cmake "out-of-tree" notes as bullets (#4139)
1 parent 7190726 commit e0e4c0c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/development.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ cmake -GNinja -Bbuild \
152152
##### ...with LLVM "out-of-tree"
153153

154154
If you have built llvm-project separately in the directory `$LLVM_INSTALL_DIR`, you can also build the project *out-of-tree* using the following command as template:
155+
155156
```shell
156157
cmake -GNinja -Bbuild \
157158
`# Enables "--debug" and "--debug-only" flags for the "torch-mlir-opt" tool` \
@@ -165,9 +166,10 @@ cmake -GNinja -Bbuild \
165166
-DLLVM_DIR="$LLVM_INSTALL_DIR/lib/cmake/llvm/"
166167
.
167168
```
168-
The same QoL CMake flags can be used to enable clang, ccache, and lld. Be sure to have built LLVM with `-DLLVM_ENABLE_PROJECTS=mlir`.
169169

170-
Be aware that the installed version of LLVM needs in general to match the committed version in `externals/llvm-project`. Using a different version may or may not work.
170+
- The same QoL CMake flags can be used to enable clang, ccache, and lld.
171+
- Be sure to have built LLVM with `-DLLVM_ENABLE_PROJECTS=mlir`.
172+
- Be aware that the installed version of LLVM needs in general to match the committed version in `externals/llvm-project`. Using a different version may or may not work.
171173

172174
###### [About MLIR debugging](https://mlir.llvm.org/getting_started/Debugging/)
173175

0 commit comments

Comments
 (0)