summaryrefslogtreecommitdiff
path: root/math/py-numpy/Makefile.make_env
blob: 91a53fd91ebabed24c8df6f8a997a0ff3ca38665 (plain)
1
2
3
4
5
6
7
8
9
10
# $NetBSD: Makefile.make_env,v 1.4 2021/06/15 04:41:53 thor Exp $
# Use the variables from blas.buildlink3.mk, pulled in via cblas.
# Dependent Python packages possibly re-use the system_info logic and
# might need this in the environment.
.if ${BLAS_TYPE:U} == "accelerate.framework"
MAKE_ENV+=	NPY_BLAS_ORDER=accelerate
.else
MAKE_ENV+=	NPY_BLAS_LIBS=${BLAS_LIBS:Q} NPY_LAPACK_LIBS=${LAPACK_LIBS:Q}
MAKE_ENV+=	NPY_CBLAS_LIBS=${CBLAS_LIBS:Q}
.endif