Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2018 23:58:10 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469258 - head/math/superlu
Message-ID:  <201805062358.w46NwACa079433@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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@FreeBSD.org
+MAINTAINER=	robert.ayrapetyan@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>



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