]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
whisper : add check that target name exists (whisper/3103)
authorDaniel Bevenius <redacted>
Thu, 1 May 2025 08:05:24 +0000 (10:05 +0200)
committerGeorgi Gerganov <redacted>
Thu, 1 May 2025 17:15:34 +0000 (20:15 +0300)
commit99881f77d82efda80b21057d84f1cc2df2f1e0f6
tree26e4f9f85968faede12083dbde220a4203aee34e
parentb5769d92b4510c77691ad9e3f8b643c2ba202e53
whisper : add check that target name exists (whisper/3103)

This commit adds a check to makes sure that the target exists before
trying to add compile options to ignore warnings when using MSVC.

The motivation for this is currently the build is broken depending on
the cmake options provided. With this fix it should be possible to build
even if the targets are not actually available.

Refs: https://github.com/ggml-org/whisper.cpp/pull/3090#issuecomment-2842760104
ggml/CMakeLists.txt