pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ggml: remove, imported to pkgsrc
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Thu Jul 2 12:59:55 2026 +0200
Changeset: f380a73fd80aec75c6f9976946d644b07f85e399
Modified Files:
Makefile
llama.cpp/Makefile
stable-diffusion.cpp/Makefile
whisper.cpp/Makefile
Removed Files:
ggml/DESCR
ggml/Makefile
ggml/PLIST
ggml/buildlink3.mk
ggml/distinfo
ggml/options.mk
ggml/patches/patch-include_ggml.h
Log Message:
ggml: remove, imported to pkgsrc
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f380a73fd80aec75c6f9976946d644b07f85e399
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
ggml/DESCR | 11 -----------
ggml/Makefile | 39 ---------------------------------------
ggml/PLIST | 37 -------------------------------------
ggml/buildlink3.mk | 13 -------------
ggml/distinfo | 6 ------
ggml/options.mk | 21 ---------------------
ggml/patches/patch-include_ggml.h | 15 ---------------
llama.cpp/Makefile | 2 +-
stable-diffusion.cpp/Makefile | 2 +-
whisper.cpp/Makefile | 2 +-
11 files changed, 3 insertions(+), 146 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index b1d8b426e9..a4575720c7 100644
--- a/Makefile
+++ b/Makefile
@@ -1287,7 +1287,6 @@ SUBDIR+= gfontview
SUBDIR+= gforth-git
SUBDIR+= gforth-snapshot
SUBDIR+= gfsview-snapshot
-SUBDIR+= ggml
SUBDIR+= ggobi
SUBDIR+= gh-dash
SUBDIR+= ghc-core
diff --git a/ggml/DESCR b/ggml/DESCR
deleted file mode 100644
index f7d1f74a81..0000000000
--- a/ggml/DESCR
+++ /dev/null
@@ -1,11 +0,0 @@
-Tensor library for machine learning
-
-## Features
-
-- Low-level cross-platform implementation
-- Integer quantization support
-- Broad hardware support
-- Automatic differentiation
-- ADAM and L-BFGS optimizers
-- No third-party dependencies
-- Zero memory allocations during runtime
diff --git a/ggml/Makefile b/ggml/Makefile
deleted file mode 100644
index 7a27c1ceb1..0000000000
--- a/ggml/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# $NetBSD$
-
-DISTNAME= ggml-0.15.3
-PKGREVISION= 1
-CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_GITHUB:=ggml-org/}
-GITHUB_TAG= v${PKGVERSION_NOREV}
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/ggml-org/ggml/
-COMMENT= Tensor library for machine learning
-LICENSE= mit
-
-USE_TOOLS+= pkg-config
-USE_LANGUAGES= c c++
-
-USE_CC_FEATURES= c11
-USE_CXX_FEATURES= c++17
-
-PKGCONFIG_OVERRIDE+= ggml.pc.in
-
-CMAKE_CONFIGURE_ARGS+= -DGGML_BLAS=ON
-CMAKE_CONFIGURE_ARGS+= -DGGML_BLAS_VENDOR=OpenBLAS
-CMAKE_CONFIGURE_ARGS+= -DBLAS_LIBRARIES=${CBLAS_LIBS:Q}
-
-BLAS_INDEX64= yes
-BLAS_ACCEPTED= openblas_pthread #openblas_openmp
-BLAS_C_INTERFACE= yes
-
-SUBST_CLASSES+= findblas
-SUBST_STAGE.findblas= pre-configure
-SUBST_MESSAGE.findblas= Fixing libpci soname
-SUBST_FILES.findblas+= src/ggml-blas/CMakeLists.txt
-SUBST_SED.findblas+= -e 's,DepBLAS openblas64,DepBLAS ${BLAS_PC},'
-
-.include "options.mk"
-.include "../../devel/cmake/build.mk"
-.include "../../mk/blas.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/ggml/PLIST b/ggml/PLIST
deleted file mode 100644
index a5c46effcf..0000000000
--- a/ggml/PLIST
+++ /dev/null
@@ -1,37 +0,0 @@
-@comment $NetBSD$
-include/ggml-alloc.h
-include/ggml-backend.h
-include/ggml-blas.h
-include/ggml-cann.h
-include/ggml-cpp.h
-include/ggml-cpu.h
-include/ggml-cuda.h
-include/ggml-metal.h
-include/ggml-openvino.h
-include/ggml-opt.h
-include/ggml-rpc.h
-include/ggml-sycl.h
-include/ggml-virtgpu.h
-include/ggml-vulkan.h
-include/ggml-webgpu.h
-include/ggml-zendnn.h
-include/ggml.h
-include/gguf.h
-lib/cmake/ggml/ggml-config.cmake
-lib/cmake/ggml/ggml-version.cmake
-lib/libggml-base.so
-lib/libggml-base.so.0
-lib/libggml-base.so.${PKGVERSION}
-lib/libggml-blas.so
-lib/libggml-blas.so.0
-lib/libggml-blas.so.${PKGVERSION}
-lib/libggml-cpu.so
-lib/libggml-cpu.so.0
-lib/libggml-cpu.so.${PKGVERSION}
-${PLIST.vulkan}lib/libggml-vulkan.so
-${PLIST.vulkan}lib/libggml-vulkan.so.0
-${PLIST.vulkan}lib/libggml-vulkan.so.${PKGVERSION}
-lib/libggml.so
-lib/libggml.so.0
-lib/libggml.so.${PKGVERSION}
-lib/pkgconfig/ggml.pc
diff --git a/ggml/buildlink3.mk b/ggml/buildlink3.mk
deleted file mode 100644
index 0a823c9475..0000000000
--- a/ggml/buildlink3.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+= ggml
-
-.if !defined(GGML_BUILDLINK3_MK)
-GGML_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.ggml+= ggml>=0.15.3
-BUILDLINK_PKGSRCDIR.ggml?= ../../wip/ggml
-
-.endif # GGML_BUILDLINK3_MK
-
-BUILDLINK_TREE+= -ggml
diff --git a/ggml/distinfo b/ggml/distinfo
deleted file mode 100644
index 112d05505a..0000000000
--- a/ggml/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD$
-
-BLAKE2s (ggml-0.15.3.tar.gz) = 7a4eeb168e4d9bf1f6a7aa589b91bc1ca4d9d31096c9143985f0628bb9a56fa0
-SHA512 (ggml-0.15.3.tar.gz) = 51dad3310aa28e3daf2689d3617c5f978b50469b4676d101ce7071d0dfbe8b1d04755cc2114cd8ef7ba6dd1466daf6362b0cd42ddf6c9f1a84c3bc43664ec56c
-Size (ggml-0.15.3.tar.gz) = 3227851 bytes
-SHA1 (patch-include_ggml.h) = c342dfeafcf9987298b35140e978aeed619f0bfe
diff --git a/ggml/options.mk b/ggml/options.mk
deleted file mode 100644
index 2a6dbee0a4..0000000000
--- a/ggml/options.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD$
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.ggml
-PKG_SUPPORTED_OPTIONS= vulkan
-PKG_SUGGESTED_OPTIONS= # empty
-
-.include "../../mk/bsd.options.mk"
-
-PLIST_VARS+= vulkan
-PRINT_PLIST_AWK+= /libggml-vulkan/ { $$0 = "$${PLIST.vulkan}" $$0 }
-
-.if !empty(PKG_OPTIONS:Mvulkan)
-DEPENDS+= shaderc-[0-9]*:../../graphics/shaderc
-CMAKE_CONFIGURE_ARGS+= -DGGML_VULKAN=ON
-PLIST.vulkan= yes
-.include "../../graphics/vulkan-headers/buildlink3.mk"
-.include "../../graphics/vulkan-loader/buildlink3.mk"
-.include "../../parallel/spirv-headers/buildlink3.mk"
-.else
-CMAKE_CONFIGURE_ARGS+= -DGGML_VULKAN=OFF
-.endif
diff --git a/ggml/patches/patch-include_ggml.h b/ggml/patches/patch-include_ggml.h
deleted file mode 100644
index 768d4f0b9c..0000000000
--- a/ggml/patches/patch-include_ggml.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Needed by stable-diffusion.cpp.
-
---- include/ggml.h.orig 2026-07-01 15:09:07.213680840 +0000
-+++ include/ggml.h
-@@ -226,7 +226,7 @@
- #define GGML_MAX_OP_PARAMS 64
-
- #ifndef GGML_MAX_NAME
--# define GGML_MAX_NAME 64
-+# define GGML_MAX_NAME 128
- #endif
-
- #define GGML_DEFAULT_N_THREADS 4
diff --git a/llama.cpp/Makefile b/llama.cpp/Makefile
index cb1448b45f..19494aecf3 100644
--- a/llama.cpp/Makefile
+++ b/llama.cpp/Makefile
@@ -32,6 +32,6 @@ post-extract:
${LN} -s ${WRKDIR}/llama-${GITHUB_TAG} ${WRKSRC}/tools/ui/dist
.include "../../www/curl/buildlink3.mk"
-.include "../../wip/ggml/buildlink3.mk"
+.include "../../math/ggml/buildlink3.mk"
.include "../../devel/cmake/build.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/stable-diffusion.cpp/Makefile b/stable-diffusion.cpp/Makefile
index b7ca687683..ddf2fd277c 100644
--- a/stable-diffusion.cpp/Makefile
+++ b/stable-diffusion.cpp/Makefile
@@ -33,6 +33,6 @@ GITHUB_SUBMODULES+= webmproject libwebm 6184f4484a826724b5293837134ab9492261b941
BUILDLINK_API_DEPENDS.libwebp+= libwebp>=1.6.0nb2
.include "../../graphics/libwebp/buildlink3.mk"
#.include "../../wip/libwebm/buildlink3.mk"
-.include "../../wip/ggml/buildlink3.mk"
+.include "../../math/ggml/buildlink3.mk"
.include "../../devel/cmake/build.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/whisper.cpp/Makefile b/whisper.cpp/Makefile
index 3e5ced6470..3dc2ddf311 100644
--- a/whisper.cpp/Makefile
+++ b/whisper.cpp/Makefile
@@ -29,7 +29,7 @@ CMAKE_CONFIGURE_ARGS+= -DWHISPER_USE_SYSTEM_GGML=ON
#.include "../../devel/SDL2/buildlink3.mk"
.include "../../multimedia/ffmpeg8/buildlink3.mk"
.include "../../wip/llama.cpp/buildlink3.mk"
-.include "../../wip/ggml/buildlink3.mk"
+.include "../../math/ggml/buildlink3.mk"
.include "../../devel/cmake/build.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index