Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdist: include .ggml_build_number in tarball #1980

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

booxter
Copy link

@booxter booxter commented Mar 22, 2025

With that, builds using tarball will still have the correct cmake
package version for ggml.

This assumes the file is read by llama.cpp build system, see:
ggml-org/llama.cpp#12509

Fixes #1979

With that, builds using tarball will still have the correct cmake
package version for ggml.

This assumes the file is read by llama.cpp build system, see:
ggml-org/llama.cpp#12509

Fixes abetlen#1979

Signed-off-by: Ihar Hrachyshka <[email protected]>
@@ -65,7 +65,7 @@ wheel.packages = ["llama_cpp"]
cmake.verbose = true
cmake.minimum-version = "3.21"
minimum-version = "0.5.1"
sdist.include = [".git", "vendor/llama.cpp/*"]
Copy link
Author

@booxter booxter Mar 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why .git was included before. I can build the package even when I remove the directory completely before the build.

@booxter
Copy link
Author

booxter commented Mar 22, 2025

Will need to figure out how to test the change to github workflow actually works.

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.

Set GGML_BUILD_NUMBER to the correct version when building from pypi tarball
1 participant