Skip to content

Commit 140d6a0

Browse files
author
Huaishun Hu
committed
update build doc
1 parent 24c039b commit 140d6a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ This provides GPU acceleration using the MUSA cores of your Moore Threads MTT GP
157157
- Using `CMake`:
158158

159159
```bash
160-
cmake -B build -DGGML_MUSA=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
161-
cmake --build build --config Release -j$(($(nproc)-2))
160+
cmake -B build -DGGML_MUSA=ON
161+
cmake --build build --config Release
162162
```
163163

164164
The environment variable [`MUSA_VISIBLE_DEVICES`](https://docs.mthreads.com/musa-sdk/musa-sdk-doc-online/programming_guide/Z%E9%99%84%E5%BD%95/) can be used to specify which GPU(s) will be used.

0 commit comments

Comments
 (0)