You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,7 @@ cmake -GNinja -Bbuild \
152
152
##### ...with LLVM "out-of-tree"
153
153
154
154
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
+
155
156
```shell
156
157
cmake -GNinja -Bbuild \
157
158
`# Enables "--debug" and "--debug-only" flags for the "torch-mlir-opt" tool` \
@@ -165,9 +166,10 @@ cmake -GNinja -Bbuild \
165
166
-DLLVM_DIR="$LLVM_INSTALL_DIR/lib/cmake/llvm/"
166
167
.
167
168
```
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`.
169
169
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.
0 commit comments