Skip to content

Commit

Permalink
math/lapackpp: New port: C++ API for the Linear Algebra PACKage
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jul 4, 2022
1 parent db5eeb2 commit 792d1b8
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions math/Makefile
Expand Up @@ -416,6 +416,7 @@
SUBDIR += lapack++
SUBDIR += lapack95
SUBDIR += lapacke
SUBDIR += lapackpp
SUBDIR += laspack
SUBDIR += latte-integrale
SUBDIR += lcalc
Expand Down
27 changes: 27 additions & 0 deletions math/lapackpp/Makefile
@@ -0,0 +1,27 @@
PORTNAME= lapackpp
DISTVERSION= 2022.05.00
CATEGORIES= math
MASTER_SITES= https://bitbucket.org/icl/${PORTNAME}/downloads/

MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ API for the Linear Algebra PACKage

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= lapacke>0:math/lapacke
LIB_DEPENDS= libblaspp.so:math/blaspp \
libopenblas.so:math/openblas
TEST_DEPENDS= lapacke>0:math/lapacke
# fails to find xblas, see https://bitbucket.org/icl/lapackpp/issues/14/fails-to-find-xblas

USES= cmake:testing fortran localbase:ldflags

CMAKE_OFF= build_tests
CMAKE_TESTING_ON= build_tests
CMAKE_TESTING_TARGET= tester

post-test:
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} test/tester

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions math/lapackpp/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1656964791
SHA256 (lapackpp-2022.05.00.tar.gz) = d0f548cbc9d4ac46b1f961834d113173c0b433074f77bcfd69c7c31cb89b7ff2
SIZE (lapackpp-2022.05.00.tar.gz) = 1080533
13 changes: 13 additions & 0 deletions math/lapackpp/pkg-descr
@@ -0,0 +1,13 @@
The objective of LAPACK++ is to provide a convenient, performance
oriented API for development in the C++ language, that, for the most
part, preserves established conventions, while, at the same time,
takes advantages of modern C++ features, such as: namespaces,
templates, exceptions, etc.

LAPACK++ is part of the SLATE project (Software for Linear Algebra
Targeting Exascale), which is funded by the Department of Energy as
part of its Exascale Computing Initiative (ECP). Closely related to
LAPACK++ is the BLAS++ project, which provides a C++ API for BLAS and
Batch BLAS.

WWW: https://bitbucket.org/icl/blaspp/src/master/
13 changes: 13 additions & 0 deletions math/lapackpp/pkg-plist
@@ -0,0 +1,13 @@
include/lapack.hh
include/lapack/config.h
include/lapack/defines.h
include/lapack/flops.hh
include/lapack/fortran.h
include/lapack/mangling.h
include/lapack/util.hh
include/lapack/wrappers.hh
lib/lapackpp/lapackppConfig.cmake
lib/lapackpp/lapackppConfigVersion.cmake
lib/lapackpp/lapackppTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/lapackpp/lapackppTargets.cmake
lib/liblapackpp.so

0 comments on commit 792d1b8

Please sign in to comment.