pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-maturin
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Nov 13 13:28:18 UTC 2024
Added Files:
pkgsrc/devel/py-maturin: tool.mk
Log Message:
py-maturin: Add a tool.mk.
Maturin will by default spawn as many build threads as it finds online
CPUs, which is completely unsuitable for bulk builds. This file should
be used instead of a plain TOOL_DEPENDS so that MAKE_JOBS is correctly
handled.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-maturin/tool.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-maturin/tool.mk
diff -u /dev/null pkgsrc/devel/py-maturin/tool.mk:1.1
--- /dev/null Wed Nov 13 13:28:18 2024
+++ pkgsrc/devel/py-maturin/tool.mk Wed Nov 13 13:28:17 2024
@@ -0,0 +1,14 @@
+# $NetBSD: tool.mk,v 1.1 2024/11/13 13:28:17 jperkin Exp $
+#
+# Maturin will by default spawn as many build threads as it finds online
+# CPUs, which is completely unsuitable for bulk builds. This file should
+# be used instead of a plain TOOL_DEPENDS so that MAKE_JOBS is correctly
+# handled.
+
+.if !defined(MATURIN_TOOL_MK)
+MATURIN_TOOL_MK:=
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-maturin-[0-9]*:../../devel/py-maturin
+
+WHEEL_ARGS+= -Cbuild-args=${_MAKE_JOBS}
+.endif
Home |
Main Index |
Thread Index |
Old Index