Skip to content

cmake : add version.h.in files for whisper and parakeet - #4033

Open
danbev wants to merge 3 commits into
ggml-org:masterfrom
danbev:version.h.in
Open

cmake : add version.h.in files for whisper and parakeet#4033
danbev wants to merge 3 commits into
ggml-org:masterfrom
danbev:version.h.in

Conversation

@danbev

@danbev danbev commented Sep 4, 2026

Copy link
Copy Markdown
Member

This commit adds to version.h.in cmake configure files for whisper.cpp and parakeet.cpp, and removes the current version handling which is using compile flag definitions. This was a mistake on my part when introducing version handling and the reason is that compile definitions become part of the compiler flags for all source files in the target. This meant that when the version is updated the flags will be updated add cause a recompile even if the sources have not changed.

parakeet.cpp is given a separate header but shares the version with whisper.cpp at the moment.

Refs: ggml-org/llama.cpp#28278

This commit adds to version.h.in cmake configure files for whisper.cpp
and parakeet.cpp, and removes the current version handling which is
using compile flag definitions. This was a mistake on my part when
introducing version handling and the reason is that compile definitions
become part of the compiler flags for all source files in the target.
This meant that when the version is updated the flags will be updated
add cause a recompile even if the sources have not changed.

parakeet.cpp is given a separate header but shared the version with
whisper.cpp at the moment.
@danbev
danbev requested a review from ggerganov September 4, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant