From owner-svn-ports-all@freebsd.org Fri Oct 12 01:11:48 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15D1A10CDCB0; Fri, 12 Oct 2018 01:11:48 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEFCE8B3A7; Fri, 12 Oct 2018 01:11:47 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B9E39184B8; Fri, 12 Oct 2018 01:11:47 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9C1BlXu055746; Fri, 12 Oct 2018 01:11:47 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9C1Blnb055744; Fri, 12 Oct 2018 01:11:47 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201810120111.w9C1Blnb055744@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 12 Oct 2018 01:11:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r481863 - head/math/primme X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/math/primme X-SVN-Commit-Revision: 481863 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2018 01:11:48 -0000 Author: yuri Date: Fri Oct 12 01:11:47 2018 New Revision: 481863 URL: https://svnweb.freebsd.org/changeset/ports/481863 Log: math/primme: Update to the latest revision; Add LinAlg options Port changes: * Remove do-install: it is now implemented by the project * Add options to choose the LAPACK-compatible interface for liner algebra Modified: head/math/primme/Makefile head/math/primme/distinfo Modified: head/math/primme/Makefile ============================================================================== --- head/math/primme/Makefile Fri Oct 12 00:16:44 2018 (r481862) +++ head/math/primme/Makefile Fri Oct 12 01:11:47 2018 (r481863) @@ -2,7 +2,7 @@ PORTNAME= primme DISTVERSIONPREFIX= v -DISTVERSION= 2.1.20181010 # git describe doesn't identify the tag properly +DISTVERSION= 2.1.20181011 # git describe doesn't identify the tag properly CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -11,13 +11,11 @@ COMMENT= Iterative eigensolver for symmetric and hermi LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.txt -LIB_DEPENDS= libblas.so:math/blas \ - liblapack.so:math/lapack TEST_DEPENDS= gfortran${GCC_DEFAULT}:lang/gcc${GCC_DEFAULT} USES= gmake localbase:ldflags USE_GITHUB= yes -GH_TAGNAME= d089bec +GH_TAGNAME= 6a0fa27 MAKEFILE= makefile ALL_TARGET= solib USE_LDCONFIG= yes @@ -25,8 +23,21 @@ USE_LDCONFIG= yes BINARY_ALIAS= make=${GMAKE} CFLAGS+= -fPIC -LDFLAGS+= ${LOCALBASE}/lib/liblapack.so ${LOCALBASE}/lib/libblas.so +LDFLAGS+= ${LAPACKLIB} -lm +OPTIONS_RADIO= LINALG +OPTIONS_RADIO_LINALG= ATLAS GOTOBLAS NETLIB OPENBLAS +OPTIONS_DEFAULT= OPENBLAS + +LINALG_DESC= Choose which linear algebra interface (LAPACK) implementation to use: + +GOTOBLAS_DESC= Goto blas implementation +ATLAS_USES= blaslapack:atlas +GOTOBLAS_USES= blaslapack:gotoblas +NETLIB_USES= blaslapack:netlib +NETLIB_LDFLAGS= -lblas # XXX why this isn't covered by blaslapack:netlib? +OPENBLAS_USES= blaslapack:openblas + TEST_ENV= ${MAKE_ENV} F77=gfortran${GCC_DEFAULT} FLDR=gfortran${GCC_DEFAULT} \ LDFLAGS="-lm -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} ${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so" \ USE_MPI=no USE_PETSC=no PETSC_DIR=${LOCALBASE} @@ -38,10 +49,8 @@ PLIST_FILES= include/primme.h \ include/primme_f77.h \ include/primme_svds.h \ include/primme_svds_f77.h \ - lib/libprimme.so - -do-install: - cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} - ${INSTALL_LIB} ${WRKSRC}/lib/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib + lib/libprimme.so \ + lib/libprimme.so.2 \ + lib/libprimme.so.2.1 .include Modified: head/math/primme/distinfo ============================================================================== --- head/math/primme/distinfo Fri Oct 12 00:16:44 2018 (r481862) +++ head/math/primme/distinfo Fri Oct 12 01:11:47 2018 (r481863) @@ -1,3 +1,3 @@ -TIMESTAMP = 1539198535 -SHA256 (primme-primme-v2.1.20181010-d089bec_GH0.tar.gz) = 90f9df43e5507b8f0dd40cd27ac50ebc06e0442f3e2939eca0e8a6fc0d43eef5 -SIZE (primme-primme-v2.1.20181010-d089bec_GH0.tar.gz) = 5510842 +TIMESTAMP = 1539306461 +SHA256 (primme-primme-v2.1.20181011-6a0fa27_GH0.tar.gz) = 8f662a7c41d5bfb7910ccb9bbcb7f06f1191fc7c7a9d41fb695e9b13438bcb79 +SIZE (primme-primme-v2.1.20181011-6a0fa27_GH0.tar.gz) = 5511173