pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-numpy



Module Name:    pkgsrc
Committed By:   thor
Date:           Wed Apr  3 19:40:09 UTC 2024

Modified Files:
        pkgsrc/math/py-numpy: Makefile

Log Message:
math/py-numpy: pass -j$MAKE_JOBS to ninja

This avoids hogging all (virtual) CPU cores during build. This should be
set generically in wheel.mk or such, though.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 pkgsrc/math/py-numpy/Makefile

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

Modified files:

Index: pkgsrc/math/py-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.120 pkgsrc/math/py-numpy/Makefile:1.121
--- pkgsrc/math/py-numpy/Makefile:1.120 Tue Feb  6 18:14:57 2024
+++ pkgsrc/math/py-numpy/Makefile       Wed Apr  3 19:40:09 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.120 2024/02/06 18:14:57 adam Exp $
+# $NetBSD: Makefile,v 1.121 2024/04/03 19:40:09 thor Exp $
 
 DISTNAME=      numpy-1.26.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -73,6 +73,7 @@ BLAS_C_INTERFACE=     yes
 # all APIs.
 WHEEL_ARGS+=           -Csetup-args=-Dblas=${BLAS_PC}
 WHEEL_ARGS+=           -Csetup-args=-Dlapack=${LAPACK_PC}
+WHEEL_ARGS+=           -Ccompile-args=-j${MAKE_JOBS}
 
 # Remove invalid __STDC_VERSION__ setting
 BUILDLINK_TRANSFORM.SunOS+=    rm:-D__STDC_VERSION__=0



Home | Main Index | Thread Index | Old Index