Commit d6713fd
docs: add Windows BUILD_MONAI install instructions (#8906)
Fixes #6119 .
### Description
`docs/source/installation.md` only documents the POSIX inline form
`BUILD_MONAI=1 pip install ...` for building the MONAI C++/CUDA
extensions. This `VAR=value command` syntax is not supported by Windows
`cmd.exe` or PowerShell, so the documented commands fail out of the box
on Windows.
This adds short cmd.exe and PowerShell snippets to both install flows
(Option 1 system-wide and Option 2 editable): set the environment
variable first, then run the existing `pip install` command. The `set
BUILD_MONAI=1` form is the one confirmed working on Windows 11 in the
issue thread.
### Types of changes
- [x] Non-breaking change (documentation only).
- [x] Documentation updated.
### How tested
- Verified the new `bat`/`powershell` fenced blocks use valid Pygments
lexers and lex without error tokens, so the strict docs build
(`build_docs.yml`) emits no new warnings.
- pre-commit markdown hooks (end-of-file, trailing-whitespace,
mixed-line-ending) pass on the changed file.
Signed-off-by: Lanre Shittu <136805224+Shizoqua@users.noreply.github.com>
Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>1 parent 0f5c5ec commit d6713fd
1 file changed
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
120 | 136 | | |
121 | 137 | | |
122 | 138 | | |
| |||
147 | 163 | | |
148 | 164 | | |
149 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
150 | 182 | | |
151 | 183 | | |
152 | 184 | | |
| |||
0 commit comments