pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/superlu



Module Name:    pkgsrc
Committed By:   thor
Date:           Tue Dec 19 11:53:01 UTC 2023

Modified Files:
        pkgsrc/math/superlu: Makefile

Log Message:
math/superlu: fix pkg-config usage and hence BLAS usage


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/math/superlu/Makefile

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

Modified files:

Index: pkgsrc/math/superlu/Makefile
diff -u pkgsrc/math/superlu/Makefile:1.34 pkgsrc/math/superlu/Makefile:1.35
--- pkgsrc/math/superlu/Makefile:1.34   Tue Dec 19 10:34:09 2023
+++ pkgsrc/math/superlu/Makefile        Tue Dec 19 11:53:01 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2023/12/19 10:34:09 thor Exp $
+# $NetBSD: Makefile,v 1.35 2023/12/19 11:53:01 thor Exp $
 
 DISTNAME=              superlu-6.0.1
+PKGREVISION=           1
 CATEGORIES=            math
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=xiaoyeli/}
 GITHUB_TAG=            v${PKGVERSION_NOREV}
@@ -9,18 +10,15 @@ MAINTAINER=          pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              https://portal.nersc.gov/project/sparse/superlu/
 COMMENT=               Library for solving large, sparse, nonsymmetric systems of linear equations
 
+USE_TOOLS=             cmake pkg-config
 USE_CMAKE=             yes
 USE_LANGUAGES=         c fortran
 TEST_TARGET=           test
 
 CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
-# Does not use C interface, also somehow has broken FindBLAS usage.
 CMAKE_ARGS+=   -DTPL_ENABLE_INTERNAL_BLASLIB=OFF
-CMAKE_ARGS+=   -DTPL_BLAS_LIBRARIES=${BLAS_LIBS:Q}
-# Keeping those here. In future, that should work and replace the
-# above. Need upstream bug report.
-#CMAKE_ARGS+=  -DBLA_PREFER_PKGCONFIG=ON
-#CMAKE_ARGS+=  -DBLA_PKGCONFIG_BLAS=${BLAS_PC}
+CMAKE_ARGS+=   -DBLA_PREFER_PKGCONFIG=ON
+CMAKE_ARGS+=   -DBLA_PKGCONFIG_BLAS=${BLAS_PC}
 
 .include "../../mk/blas.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index