pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/python
Module Name: pkgsrc
Committed By: adam
Date: Sun Mar 25 07:32:19 UTC 2018
Modified Files:
pkgsrc/lang/python: extension.mk
Log Message:
Use parallel building for Python 3.5+ packages
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/lang/python/extension.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/python/extension.mk
diff -u pkgsrc/lang/python/extension.mk:1.51 pkgsrc/lang/python/extension.mk:1.52
--- pkgsrc/lang/python/extension.mk:1.51 Mon Jul 3 18:14:40 2017
+++ pkgsrc/lang/python/extension.mk Sun Mar 25 07:32:19 2018
@@ -1,4 +1,4 @@
-# $NetBSD: extension.mk,v 1.51 2017/07/03 18:14:40 joerg Exp $
+# $NetBSD: extension.mk,v 1.52 2018/03/25 07:32:19 adam Exp $
.include "../../lang/python/pyversion.mk"
@@ -17,6 +17,12 @@
PYSETUP?= setup.py
PYSETUPBUILDTARGET?= build
PYSETUPBUILDARGS?= #empty
+# Python 3.5+ supports parallel building
+.if defined(MAKE_JOBS) && ${_PYTHON_VERSION} > 34
+. if !defined(MAKE_JOBS_SAFE) || empty(MAKE_JOBS_SAFE:M[nN][oO])
+PYSETUPBUILDARGS+= -j${MAKE_JOBS}
+. endif
+.endif
PYSETUPARGS?= #empty
PYSETUPINSTALLARGS?= #empty
PYSETUPOPTARGS?= -c -O1
Home |
Main Index |
Thread Index |
Old Index