pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

onnxruntime: some progress, still far from building



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Sep 26 16:05:20 2026 +0200
Changeset:	3678103c289e2c4f5965660ae616b7e41c374cfb

Modified Files:
	onnxruntime/Makefile
	onnxruntime/distinfo

Log Message:
onnxruntime: some progress, still far from building

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3678103c289e2c4f5965660ae616b7e41c374cfb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 onnxruntime/Makefile | 24 ++++++++++++++++++++----
 onnxruntime/distinfo |  3 +++
 2 files changed, 23 insertions(+), 4 deletions(-)

diffs:
diff --git a/onnxruntime/Makefile b/onnxruntime/Makefile
index d3e894cb1d..d8b15a435a 100644
--- a/onnxruntime/Makefile
+++ b/onnxruntime/Makefile
@@ -4,6 +4,8 @@ DISTNAME=	onnxruntime-1.30.0
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=microsoft/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
+DISTFILES=	${DEFAULT_DISTFILES} eigen-3.4.0_p20250216.tar.gz
+SITES.eigen-3.4.0_p20250216.tar.gz=	-https://github.com/eigen-mirror/eigen/archive/1d8b82b0740839c0de7f1242a3585e3390ff5f33.tar.gz
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/microsoft/onnxruntime/
@@ -13,11 +15,25 @@ LICENSE=	mit
 TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 TOOL_DEPENDS+=	cmake-[0-9]*:../../devel/cmake
 
-USE_TOOLS+=	git
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	pkg-config
 
-do-build:
-	cd ${WRKSRC} && ${PYTHONBIN} ${WRKSRC}/tools/ci_build/build.py --build_dir ${WRKSRC}/build/Linux
+CONFIGURE_DIR=	cmake
 
+CMAKE_ARGS+=	-DFETCHCONTENT_SOURCE_DIR_EIGEN3="${WRKDIR}/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33"
+#CMAKE_ARGS+=	-Donnxruntime_BUILD_SHARED_LIB=off
+CMAKE_ARGS+=	-Donnxruntime_BUILD_UNIT_TESTS=off
+
+#do-build:
+#	cd ${WRKSRC} && ${PYTHONBIN} ${WRKSRC}/tools/ci_build/build.py --build_dir ${WRKSRC}/build/Linux
+
+.include "../../devel/abseil/buildlink3.mk"
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/flatbuffers/buildlink3.mk"
+.include "../../devel/protobuf/buildlink3.mk"
+.include "../../devel/re2/buildlink3.mk"
+.include "../../sysutils/cpuinfo/buildlink3.mk"
+.include "../../textproc/nlohmann-json/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
 .include "../../lang/python/tool.mk"
-.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/onnxruntime/distinfo b/onnxruntime/distinfo
index 39a364ef5d..652d26e6a7 100644
--- a/onnxruntime/distinfo
+++ b/onnxruntime/distinfo
@@ -1,5 +1,8 @@
 $NetBSD$
 
+BLAKE2s (eigen-3.4.0_p20250216.tar.gz) = f69685bad15314d49f0163061e3c16098f9b23c512dcc76b891af8d5015ff3cc
+SHA512 (eigen-3.4.0_p20250216.tar.gz) = 26a0d86ece9a28c93d64ee3e6ff96276b096a80e34fa2f3c474638824ffa2c56e582d9b2b9ffbb73b18a28b4828b827654b65a3471bc83505c48feab26fb836d
+Size (eigen-3.4.0_p20250216.tar.gz) = 2894190 bytes
 BLAKE2s (onnxruntime-1.30.0.tar.gz) = b8ce2969a48e2a5baf208c259203f81cc20d3b7d0bc016e5be975011664ec308
 SHA512 (onnxruntime-1.30.0.tar.gz) = 10045518738889ec63e3a490d248f8cfc342775ce54b134f2996c7e47f744d1bf7332a5d57b3b3072aed5ef4dfeffd0de2593954735c5ce898048f1380b2c91c
 Size (onnxruntime-1.30.0.tar.gz) = 278619110 bytes


Home | Main Index | Thread Index | Old Index