Repository navigation
cmake : remove precompiled headers - #28892
Merged
Merged
Conversation
This commit removes the precompiled headers that I added in Commit 3bcfeb7 ("cmake : add PCH and unity build to improve build times (ggml-org#28091)"). The motivation for this is that this looked good when developing this but has caused multiple issues that I had taken into consideration and we have decided to remove it and only keep the unity builds from the above commit. Refs: ggml-org#28882 (comment)
ggerganov
reviewed
Sep 14, 2026
| @@ -41,10 +33,6 @@ target_include_directories(${TARGET} PRIVATE ../mtmd) | |||
| target_include_directories(${TARGET} PRIVATE ${CMAKE_SOURCE_DIR}) | |||
Member
There was a problem hiding this comment.
The usage of CMAKE_SOURCE_DIR is still a problem - let's fix this in a follow-up PR similar to #28771 . I think what we really want is to use PROJECT_SOURCE_DIR in such situations.
Member
Author
There was a problem hiding this comment.
I'll rebase #28771 after this has been merged and then update it to use PROJECT_SOURCE_DIR.
ggerganov
approved these changes
Sep 14, 2026
danbev
marked this pull request as ready for review
September 14, 2026 11:31
nikwen
approved these changes
Sep 14, 2026
quimmedes
pushed a commit
to quimmedes/cafe-llama.cpp
that referenced
this pull request
Sep 16, 2026
This commit removes the precompiled headers that I added in Commit 3bcfeb7 ("cmake : add PCH and unity build to improve build times (ggml-org#28091)"). The motivation for this is that this looked good when developing this but has caused multiple issues that I had taken into consideration and we have decided to remove it and only keep the unity builds from the above commit. Refs: ggml-org#28882 (comment)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This commit removes the precompiled headers that I added in Commit 3bcfeb7 ("cmake : add PCH and unity build to improve build times (#28091)").
Additional information
The motivation for this is that this looked good when developing this but has caused multiple issues that I had taken into consideration and we have decided to remove it and only keep the unity builds from the above commit.
Refs: #28882 (comment)
Requirements