Skip to content

Commit 897b071

Browse files
docs : add cmake "-j" flag in README.md (#3284)
Make cmake commands encounter multithreading in README.md file.
1 parent 4daf705 commit 897b071

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Now build the [whisper-cli](examples/cli) example and transcribe an audio file l
8080
```bash
8181
# build the project
8282
cmake -B build
83-
cmake --build build --config Release
83+
cmake --build build -j --config Release
8484

8585
# transcribe an audio file
8686
./build/bin/whisper-cli -f samples/jfk.wav
@@ -149,7 +149,7 @@ standard cmake setup with:
149149
```bash
150150
# build with GGML_BLAS defined
151151
cmake -B build -DGGML_BLAS=1
152-
cmake --build build --config Release
152+
cmake --build build -j --config Release
153153
./build/bin/whisper-cli [ .. etc .. ]
154154
```
155155

@@ -163,7 +163,7 @@ Here are the steps for creating and using a quantized model:
163163
```bash
164164
# quantize a model with Q5_0 method
165165
cmake -B build
166-
cmake --build build --config Release
166+
cmake --build build -j --config Release
167167
./build/bin/quantize models/ggml-base.en.bin models/ggml-base.en-q5_0.bin q5_0
168168

169169
# run the examples as usual, specifying the quantized model file
@@ -489,7 +489,7 @@ You will need to have [sdl2](https://wiki.libsdl.org/SDL2/Installation) installe
489489

490490
```bash
491491
cmake -B build -DWHISPER_SDL2=ON
492-
cmake --build build --config Release
492+
cmake --build build -j --config Release
493493
./build/bin/whisper-stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000
494494
```
495495

0 commit comments

Comments
 (0)