svn commit: r469258 - head/math/superlu
Yuri Victorovich
yuri at FreeBSD.org
Sun May 6 23:58:11 UTC 2018
Author: yuri
Date: Sun May 6 23:58:10 2018
New Revision: 469258
URL: https://svnweb.freebsd.org/changeset/ports/469258
Log:
math/superlu: robert.ayrapetyan at gmail.com takes maintainership
Also removed the dysfunctional TEST option and added the do-test target
that enables the 'make test'.
PR: 228009
Submitted by: robert.ayrapetyan at gmail.com
Modified:
head/math/superlu/Makefile
Modified: head/math/superlu/Makefile
==============================================================================
--- head/math/superlu/Makefile Sun May 6 23:19:52 2018 (r469257)
+++ head/math/superlu/Makefile Sun May 6 23:58:10 2018 (r469258)
@@ -10,7 +10,7 @@ MASTER_SITES= http://crd-legacy.lbl.gov/~xiaoye/SuperL
DISTNAME= ${PORTNAME}_${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= robert.ayrapetyan at gmail.com
COMMENT= Library of routines for performing sparse factorization
LICENSE= BSD3CLAUSE
@@ -27,7 +27,7 @@ CMAKE_ARGS= -DUSE_XSDK_DEFAULTS:BOOL=ON \
PORTDOCS= *
-OPTIONS_DEFINE= DOCS TEST
+OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= BLAS
OPTIONS_SINGLE_BLAS= ATLAS GOTOBLAS OPENBLAS REFERENCE
OPTIONS_DEFAULT= REFERENCE
@@ -46,7 +46,6 @@ OPENBLAS_CMAKE_ARGS= -DBLA_VENDOR:STRING="OpenBLAS"
REFERENCE_DESC= Reference blas implementation
REFERENCE_USES= blaslapack
REFERENCE_CMAKE_ARGS= -DBLA_VENDOR:STRING="Generic"
-TEST_CMAKE_ARGS= -Denable_tests:BOOL=ON
SLU_DOCS= SLU_general.ps.gz simax-29176.pdf
@@ -62,5 +61,11 @@ post-install-DOCS-on:
${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/DOC && ${COPYTREE_SHARE} "html ug.pdf" \
${STAGEDIR}${DOCSDIR})
+
+do-test:
+ @cd ${BUILD_WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Denable_tests:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list