pkgsrc-wip/superlu/Makefile

33 lines
812 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.28 2019/08/11 13:17:49 wiz Exp $
2020-02-27 14:53:24 +00:00
DISTNAME= superlu-5.2.1
2020-10-12 22:07:16 +00:00
PKGREVISION= 1
CATEGORIES= math
2020-02-27 14:53:24 +00:00
MASTER_SITES= ${MASTER_SITE_GITHUB:=xiaoyeli/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= thomas.orgis@uni-hamburg.de
HOMEPAGE= https://portal.nersc.gov/project/sparse/superlu/
2020-02-27 14:53:24 +00:00
COMMENT= Library for solving large, sparse, nonsymmetric systems of linear equations
USE_CMAKE= yes
2020-02-27 14:53:24 +00:00
USE_LANGUAGES= c fortran
CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ${WRKSRC}
# Armadillo needs shared lib, best would be to install both.
CMAKE_ARGS= -Denable_blaslib=off \
-Denable_doc=off \
-DBUILD_SHARED_LIBS=on \
-DTPL_BLAS_LIBRARIES=${BLAS_LIBS:Q}
TEST_TARGET= test
post-extract:
${RUN} mkdir -p ${WRKSRC}/build
.include "../../wip/mk/blas.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"