Skip to content

ggml : replace compile definitions with version.h.in - #28364

Merged
danbev merged 1 commit into
ggml-org:masterfrom
danbev:ggml-version-in.h
Sep 4, 2026
Merged

ggml : replace compile definitions with version.h.in#28364
danbev merged 1 commit into
ggml-org:masterfrom
danbev:ggml-version-in.h

Conversation

@danbev

@danbev danbev commented Sep 4, 2026

Copy link
Copy Markdown
Member

Overview

This commit adds a cmake version configuration file to replace the current compile definition solution for the version.

Additional information

The motivation for this change is that I made a mistake and did not take into consideration that the compile definition means that this will become a compiler flag for all sources in the target. This means that when a version update happens that will recompile all sources in the target even if they have not changed.

Refs: #28278

Requirements

This commit adds a cmake version configuration file to replace the
current compile definition solution for the version.

The motivation for this change is that I made a mistake and did not take
into consideration that the compile definition means that this will
become a compiler flag for all sources in the target. This means that
when a version update happens that will recompile all sources in the
target even if they have not changed.

Refs: ggml-org#28278
@danbev
danbev requested a review from ggerganov as a code owner September 4, 2026 06:16
@github-actions github-actions Bot added the ggml changes relating to the ggml tensor library for machine learning label Sep 4, 2026
@danbev
danbev merged commit 86b351f into ggml-org:master Sep 4, 2026
23 of 26 checks passed
@danbev
danbev deleted the ggml-version-in.h branch September 4, 2026 08:28
fewtarius pushed a commit to fewtarius/CachyLLama that referenced this pull request Sep 5, 2026
This commit adds a cmake version configuration file to replace the
current compile definition solution for the version.

The motivation for this change is that I made a mistake and did not take
into consideration that the compile definition means that this will
become a compiler flag for all sources in the target. This means that
when a version update happens that will recompile all sources in the
target even if they have not changed.

Refs: ggml-org#28278
x1250 pushed a commit to x1250/llama.cpp that referenced this pull request Sep 9, 2026
This commit adds a cmake version configuration file to replace the
current compile definition solution for the version.

The motivation for this change is that I made a mistake and did not take
into consideration that the compile definition means that this will
become a compiler flag for all sources in the target. This means that
when a version update happens that will recompile all sources in the
target even if they have not changed.

Refs: ggml-org#28278
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants