Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2024 20:18:54 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 62af3b140f21 - main - math/suitesparse: avoid mixing various BLAS/LAPACK libraries
Message-ID:  <202406212018.45LKIsd7041157@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=62af3b140f21f4f1eaf7adb3b469d1d276927602

commit 62af3b140f21f4f1eaf7adb3b469d1d276927602
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2024-06-19 11:26:46 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-06-21 20:18:10 +0000

    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
---
 math/suitesparse/bsd.suitesparse.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/math/suitesparse/bsd.suitesparse.mk b/math/suitesparse/bsd.suitesparse.mk
index cf3e5002f85d..5719f8b702b4 100644
--- a/math/suitesparse/bsd.suitesparse.mk
+++ b/math/suitesparse/bsd.suitesparse.mk
@@ -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 &&	\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406212018.45LKIsd7041157>