Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 19:07:06 +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: r500425 - in head/math: . hmat-oss hmat-oss/files
Message-ID:  <201904291907.x3TJ76pi061743@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Apr 29 19:07:06 2019
New Revision: 500425
URL: https://svnweb.freebsd.org/changeset/ports/500425

Log:
  New port: math/hmat-oss: Hierarchical matrix C/C++ library

Added:
  head/math/hmat-oss/
  head/math/hmat-oss/Makefile   (contents, props changed)
  head/math/hmat-oss/distinfo   (contents, props changed)
  head/math/hmat-oss/files/
  head/math/hmat-oss/files/patch-src_disable__threading.cpp   (contents, props changed)
  head/math/hmat-oss/pkg-descr   (contents, props changed)
  head/math/hmat-oss/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Mon Apr 29 18:19:20 2019	(r500424)
+++ head/math/Makefile	Mon Apr 29 19:07:06 2019	(r500425)
@@ -271,6 +271,7 @@
     SUBDIR += gsl
     SUBDIR += hexcalc
     SUBDIR += hipmcl
+    SUBDIR += hmat-oss
     SUBDIR += hs-Agda
     SUBDIR += hs-Agda-stdlib
     SUBDIR += hs-NumInstances

Added: head/math/hmat-oss/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/hmat-oss/Makefile	Mon Apr 29 19:07:06 2019	(r500425)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	hmat-oss
+DISTVERSION=	1.5.0-340
+DISTVERSIONSUFFIX=	-g700d1fa
+CATEGORIES=	math
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Hierarchical matrix C/C++ library
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+LIB_DEPENDS=	libcblas.so:math/cblas \
+		libomp.so:devel/openmp \
+		libopenblas.so:math/openblas
+
+USES=		cmake localbase:ldflags
+USE_GITHUB=	yes
+GH_ACCOUNT=	jeromerobert
+USE_LDCONFIG=	yes
+
+CMAKE_ARGS=	-DBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \
+		-DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \
+		-DCBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libcblas.so
+
+.include <bsd.port.mk>

Added: head/math/hmat-oss/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/hmat-oss/distinfo	Mon Apr 29 19:07:06 2019	(r500425)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1556520890
+SHA256 (jeromerobert-hmat-oss-1.5.0-340-g700d1fa_GH0.tar.gz) = 60a13f3626ddcef46a0d4c8ff750a3ae982b8de2fac0f09a673e029c45c636fc
+SIZE (jeromerobert-hmat-oss-1.5.0-340-g700d1fa_GH0.tar.gz) = 184636

Added: head/math/hmat-oss/files/patch-src_disable__threading.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/hmat-oss/files/patch-src_disable__threading.cpp	Mon Apr 29 19:07:06 2019	(r500425)
@@ -0,0 +1,13 @@
+see https://github.com/jeromerobert/hmat-oss/issues/59
+
+--- src/disable_threading.cpp.orig	2019-04-29 18:50:39 UTC
++++ src/disable_threading.cpp
+@@ -37,6 +37,8 @@ extern "C" {
+ // This function is private in openblas
+ int  goto_get_num_procs(void);
+ }
++
++void openblas_set_num_threads(int n);
+ #endif
+ 
+ namespace hmat {

Added: head/math/hmat-oss/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/hmat-oss/pkg-descr	Mon Apr 29 19:07:06 2019	(r500425)
@@ -0,0 +1,10 @@
+A hierarchical matrix C/C++ library including a LU solver.
+
+Hierarchical matrices are semi-sparse matrices that have a hierarchical block
+structure with dense blocks hierarchically embedded into other blocks, and the
+elements not covered by blocks are zero.
+
+For a more detailed definition please see the wikipedia article
+"Hierarchical matrix".
+
+WWW: https://github.com/jeromerobert/hmat-oss

Added: head/math/hmat-oss/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/hmat-oss/pkg-plist	Mon Apr 29 19:07:06 2019	(r500425)
@@ -0,0 +1,22 @@
+include/admissibility.hpp
+include/assembly.hpp
+include/cluster_tree.hpp
+include/clustering.hpp
+include/compression.hpp
+include/coordinates.hpp
+include/data_types.hpp
+include/default_engine.hpp
+include/full_matrix.hpp
+include/h_matrix.hpp
+include/hmat/config-oss.h
+include/hmat/config.h
+include/hmat/hmat.h
+include/hmat_cpp_interface.hpp
+include/tree.hpp
+lib/cmake/hmat/HMATConfig.cmake
+lib/cmake/hmat/HMATConfigVersion.cmake
+lib/cmake/hmat/HMATLibraryDepends-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/hmat/HMATLibraryDepends.cmake
+lib/libhmat-oss.so
+lib/libhmat-oss.so.1
+lib/libhmat-oss.so.1.5.0



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