File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -202,14 +202,17 @@ This provides GPU acceleration using the MUSA cores of your Moore Threads MTT GP
202202- Using ` CMake ` :
203203
204204 ``` bash
205- cmake -B build -DGGML_MUSA=ON
205+ # build with MUSA and using the compilers from MUSA SDK:
206+ cmake -B build -DGGML_MUSA=ON \
207+ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
206208 cmake --build build --config Release
207209 ```
208210- For static build:
209211
210212 ``` bash
211213 cmake -B build -DGGML_MUSA=ON \
212- -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON
214+ -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
215+ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
213216 cmake --build build --config Release
214217 ```
215218
You can’t perform that action at this time.
0 commit comments