Skip to content

Commit 6780c98

Browse files
readme : update CMake build commands (#1231)
* Update README.md * Update README.md: `vcpkg install opencl clblast` * readme : update build commands --------- Co-authored-by: Georgi Gerganov <[email protected]>
1 parent 2f52783 commit 6780c98

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ speed-up - more than x3 faster compared with CPU-only execution. Here are the in
287287
WHISPER_COREML=1 make -j
288288

289289
# using CMake
290-
cd build
291-
cmake -DWHISPER_COREML=1 ..
290+
cmake -B build -DWHISPER_COREML=1
291+
cmake --build build -j --config Release
292292
```
293293

294294
- Run the examples as usual. For example:
@@ -366,8 +366,8 @@ This can result in significant speedup in encoder performance. Here are the inst
366366
367367
And then build the project using cmake:
368368
```bash
369-
cd build
370-
cmake -DWHISPER_OPENVINO=1 ..
369+
cmake -B build -DWHISPER_OPENVINO=1
370+
cmake --build build -j --config Release
371371
```
372372
373373
- Run the examples as usual. For example:
@@ -418,11 +418,9 @@ make clean
418418
WHISPER_CLBLAST=1 make -j
419419
420420
CMake:
421-
cd whisper.cpp ; mkdir build ; cd build
422-
cmake -DWHISPER_CLBLAST=ON ..
423-
make clean
424-
make -j
425-
cp bin/* ../
421+
cd whisper.cpp
422+
cmake -B build -DWHISPER_CLBLAST=ON
423+
cmake --build build -j --config Release
426424
```
427425
428426

0 commit comments

Comments
 (0)