pkgsrc-WIP-changes archive

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

py-numpy: Build / Link against the desired blas libraries.



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Thu Nov 16 20:06:24 2023 -0800
Changeset:	f76ef38c73769a93ae9619dd61c240b5f19ad9fe

Modified Files:
	py-numpy/Makefile

Log Message:
py-numpy: Build / Link against the desired blas libraries.

All but two tests pass on linux...

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

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

diffstat:
 py-numpy/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diffs:
diff --git a/py-numpy/Makefile b/py-numpy/Makefile
index 1c4b37a891..66847bc197 100644
--- a/py-numpy/Makefile
+++ b/py-numpy/Makefile
@@ -61,6 +61,10 @@ pre-configure:
 post-install:
 	cd ${DESTDIR}${PREFIX}/bin && ${MV} f2py f2py-${PYVERSSUFFIX} || ${TRUE}
 
+do-build:
+	${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${TOOL_PYTHONBIN} \
+		-m build --wheel --skip-dependency-check --no-isolation \
+		-Csetup-args=-Dblas=${BLAS_PC} -Csetup-args=-Dlapack=${LAPACKE_PC}
 # as of 1.24.2
 # 29 failed, 26625 passed, 1481 skipped, 1307 deselected, 35 xfailed, 2 xpassed, 40 warnings
 do-test:


Home | Main Index | Thread Index | Old Index