wizardforcel ggerganov commited on
Commit
cf2a7c6
·
unverified ·
1 Parent(s): b490422

readme : update CMake build commands (#1231)

Browse files

* Update README.md

* Update README.md: `vcpkg install opencl clblast`

* readme : update build commands

---------

Co-authored-by: Georgi Gerganov <[email protected]>

Files changed (1) hide show
  1. README.md +7 -9
README.md CHANGED
@@ -287,8 +287,8 @@ speed-up - more than x3 faster compared with CPU-only execution. Here are the in
287
  WHISPER_COREML=1 make -j
288
 
289
  # using CMake
290
- cd build
291
- cmake -DWHISPER_COREML=1 ..
292
  ```
293
 
294
  - Run the examples as usual. For example:
@@ -366,8 +366,8 @@ This can result in significant speedup in encoder performance. Here are the inst
366
 
367
  And then build the project using cmake:
368
  ```bash
369
- cd build
370
- cmake -DWHISPER_OPENVINO=1 ..
371
  ```
372
 
373
  - Run the examples as usual. For example:
@@ -418,11 +418,9 @@ make clean
418
  WHISPER_CLBLAST=1 make -j
419
 
420
  CMake:
421
- cd whisper.cpp ; mkdir build ; cd build
422
- cmake -DWHISPER_CLBLAST=ON ..
423
- make clean
424
- make -j
425
- cp bin/* ../
426
  ```
427
 
428
 
 
287
  WHISPER_COREML=1 make -j
288
 
289
  # using CMake
290
+ cmake -B build -DWHISPER_COREML=1
291
+ cmake --build build -j --config Release
292
  ```
293
 
294
  - Run the examples as usual. For example:
 
366
 
367
  And then build the project using cmake:
368
  ```bash
369
+ cmake -B build -DWHISPER_OPENVINO=1
370
+ cmake --build build -j --config Release
371
  ```
372
 
373
  - Run the examples as usual. For example:
 
418
  WHISPER_CLBLAST=1 make -j
419
 
420
  CMake:
421
+ cd whisper.cpp
422
+ cmake -B build -DWHISPER_CLBLAST=ON
423
+ cmake --build build -j --config Release
 
 
424
  ```
425
 
426