Skip to content

Commit c632c86

Browse files
authored
[docs] Refresh cmake section for testing flags (#4141)
- Adjust wording for optional cmake testing flags - Make code snippet easier to copy/append to base command
1 parent 563331c commit c632c86

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/development.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,14 @@ cmake -GNinja -Bbuild \
173173

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

176-
##### Options to run end-to-end tests
176+
##### (Optional) Flags for enabling end-to-end tests
177177

178178
To enable local end-to-end tests, append:
179179

180180
```shell
181+
\
181182
-DTORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS=ON \
182-
-DTORCH_MLIR_ENABLE_JIT_IR_IMPORTER=ON \
183+
-DTORCH_MLIR_ENABLE_JIT_IR_IMPORTER=ON
183184
```
184185

185186
- NOTE: The JIT IR importer depends on the native PyTorch extension features and defaults to `ON` if not changed.

0 commit comments

Comments
 (0)