]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
pkg-config: include the new GGML_VERSION as a version (#1348)
authorChristoph Reiter <redacted>
Thu, 25 Sep 2025 16:59:38 +0000 (18:59 +0200)
committerGitHub <redacted>
Thu, 25 Sep 2025 16:59:38 +0000 (18:59 +0200)
Instead of hardcoding 0.0.0

If the 0.9.2-dev version is supposed to mean "less than" 0.9.2 instead of equal,
then the .pc version format would need to be changed to 0.9.2dev, since pkgconf
uses RPM version comparison. But let's keep it simple for now.

The version in CMake was added in #1336

ggml.pc.in

index 9be62dc33e2fc1719114abf265bd8273cfe7de7c..3e0291e0db0a647c6976f1cff7e4a9879d43fd4e 100644 (file)
@@ -5,6 +5,6 @@ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
 
 Name: ggml
 Description: The GGML Tensor Library for Machine Learning
-Version: 0.0.0
+Version: @GGML_VERSION@
 Cflags: -I${includedir}
 Libs: -L${libdir} -lggml