Skip to content

Conversation

@ggerganov
Copy link
Member

No description provided.

danbev and others added 3 commits May 1, 2025 17:07
* whisper: suppress Windows compiler warnings

This commit disables compiler warnings on window using MSVC.

The motivation for these changes is that some compilers generate
warnings for these conversion, for example Windows MSVC, and
there are quite a few of them. This makes it a little difficult to
spot new warnings that may be introduced and also can be difficult
for users/embedders of ggml where these warnings are hard to separate
from their own warnings.

* squash! whisper: suppress Windows compiler warnings

Move ggml related warnings into ggml. This commit also fixes the
indentation and adds a missing whitespace to the if statement.
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: ggml-org/whisper.cpp#3090 (comment)
ggml-ci
@github-actions github-actions bot added script Script related ggml changes relating to the ggml tensor library for machine learning labels May 1, 2025
@ggerganov ggerganov merged commit b1dd4d0 into master May 1, 2025
54 of 56 checks passed
@ggerganov ggerganov deleted the sync-ggml-25-05-01-03 branch May 1, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning script Script related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants