pkgsrc-Users archive

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

Re: BLAS: Does cblas interface work with BLAS types other than netlib



On Mon, Sep 26, 2022 at 11:36:42AM +0530, Mayuresh wrote:
> [My lost 2 emails have not reached the list, not sure why. Hoping this
> does.]

One the mails that did not make it to the list had the following patch.
Please assess if appropriate.

diff --git a/mk/blas.buildlink3.mk b/mk/blas.buildlink3.mk
index 87cd4ba00..bfca59c7b 100644
--- a/mk/blas.buildlink3.mk
+++ b/mk/blas.buildlink3.mk
@@ -156,7 +156,7 @@ BLAS_LIBS=	-lopenblas${_BLAS_64}_pthread
 LAPACK_LIBS=	${BLAS_LIBS}
 CBLAS_LIBS=	${BLAS_LIBS}
 LAPACKE_LIBS=	${BLAS_LIBS}
-BLAS_INCLUDES=	-I${PREFIX}/include/openblas64_pthread
+BLAS_INCLUDES=	-I${PREFIX}/include/openblas${_BLAS_64}_pthread
 BLAS_PC=	openblas${_BLAS_64}_pthread
 LAPACK_PC=	${BLAS_PC}
 CBLAS_PC=	${BLAS_PC}

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index