]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
Find libopenblas.dll.a on windows
authorTamotsu Takahashi <redacted>
Wed, 23 Nov 2022 00:46:56 +0000 (09:46 +0900)
committerGeorgi Gerganov <redacted>
Wed, 23 Nov 2022 06:26:45 +0000 (08:26 +0200)
commit2f596f5b3329ccc415253e386e96a5c57498c3e2
tree2cb2d069a8e410b69190ad895170fc164f95dfb2
parente5dcdabbb8b8540e8c48b575adaaeb7eebff3fb4
Find libopenblas.dll.a on windows

"lib" is needed for windows.

With this change, you can build whisper.cpp with OpenBLAS's prebuilt DLL.
1. extract a zip from https://github.com/xianyi/OpenBLAS/releases
2. copy the headers in (openblas)/include to the root directory of whisper.cpp
3. invoke cmake with -DCMAKE_LIBRARY_PATH=(openblas)\lib -DWHISPER_SUPPORT_OPENBLAS=ON
4. copy (openblas)/bin/libopenblas.dll to the same directory of whisper.dll after msbuild

https://github.com/ggerganov/whisper.cpp/issues/89#issuecomment-1324391258
CMakeLists.txt