]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
readme : update CMake build commands (#1231)
author布客飞龙 <redacted>
Tue, 5 Sep 2023 10:53:34 +0000 (18:53 +0800)
committerGitHub <redacted>
Tue, 5 Sep 2023 10:53:34 +0000 (13:53 +0300)
* Update README.md

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

* readme : update build commands

---------

Co-authored-by: Georgi Gerganov <redacted>
README.md

index 9192462bfe835a846c1021688a97f1695131476c..5f1806046dbb1e14e7c7a6bc2e6aec06ebadec67 100644 (file)
--- a/README.md
+++ b/README.md
@@ -287,8 +287,8 @@ speed-up - more than x3 faster compared with CPU-only execution. Here are the in
   WHISPER_COREML=1 make -j
 
   # using CMake
-  cd build
-  cmake -DWHISPER_COREML=1 ..
+  cmake -B build -DWHISPER_COREML=1
+  cmake --build build -j --config Release
   ```
 
 - Run the examples as usual. For example:
@@ -366,8 +366,8 @@ This can result in significant speedup in encoder performance. Here are the inst
 
   And then build the project using cmake:
   ```bash
-  cd build
-  cmake -DWHISPER_OPENVINO=1 ..
+  cmake -B build -DWHISPER_OPENVINO=1
+  cmake --build build -j --config Release
   ```
 
 - Run the examples as usual. For example:
@@ -418,11 +418,9 @@ make clean
 WHISPER_CLBLAST=1 make -j
 
 CMake:
-cd whisper.cpp ; mkdir build ; cd build
-cmake -DWHISPER_CLBLAST=ON  ..
-make clean
-make -j
-cp bin/* ../ 
+cd whisper.cpp
+cmake -B build -DWHISPER_CLBLAST=ON
+cmake --build build -j --config Release
 ```