1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

math/suitesparse: avoid mixing various BLAS/LAPACK libraries

When math/blas and math/atlas are installed on the same machine, it
seems that they can be mixed, causing a CHOLMOD failure.

PR:		279820
Reported by:	gja822@narod.ru
This commit is contained in:
Thierry Thomas 2024-06-19 13:26:46 +02:00
parent 1d0f5b57c9
commit 62af3b140f

View File

@ -25,6 +25,8 @@ CONFIGURE_WRKSRC=${WRKSRC}/SuiteSparse_config
.endif
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
CMAKE_SOURCE_PATH= ${CONFIGURE_WRKSRC}
CMAKE_ARGS+= -DBLAS_LIBRARIES:STRING="${BLASLIB}" \
-DLAPACK_LIBRARIES:STRING="${LAPACKLIB}"
.if ${MPORTNAME} != config && \
${MPORTNAME} != CSparse && \