Skip to content

Commit

Permalink
math/blaspp: New port: C++ API for the Basic Linear Algebra Subroutines
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jul 4, 2022
1 parent e87f292 commit db5eeb2
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 0 deletions.
1 change: 1 addition & 0 deletions math/Makefile
Expand Up @@ -187,6 +187,7 @@
SUBDIR += blahtexml
SUBDIR += blas
SUBDIR += blasfeo
SUBDIR += blaspp
SUBDIR += blaze
SUBDIR += blazeiterative
SUBDIR += blis
Expand Down
21 changes: 21 additions & 0 deletions math/blaspp/Makefile
@@ -0,0 +1,21 @@
PORTNAME= blaspp
DISTVERSION= 2022.05.00
CATEGORIES= math
MASTER_SITES= https://bitbucket.org/icl/blaspp/downloads/

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

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

LIB_DEPENDS= libopenblas.so:math/openblas
TEST_DEPENDS= cblas>0:math/cblas

USES= cmake:testing fortran localbase # fails to find openblas w/out USES=fortran for some reason, needs investigation

CMAKE_OFF= build_tests
CMAKE_TESTING_ON= build_tests # tests fail to run, see https://bitbucket.org/icl/blaspp/issues/19/tests-arent-run-with-tester-target-when
CMAKE_TESTING_TARGET= tester

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions math/blaspp/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1656962327
SHA256 (blaspp-2022.05.00.tar.gz) = 696277859bc1bd9c0aeb0cb170a1e259765c0a86af49b20afa0ffcbabc3e207e
SIZE (blaspp-2022.05.00.tar.gz) = 596268
12 changes: 12 additions & 0 deletions math/blaspp/pkg-descr
@@ -0,0 +1,12 @@
The objective of BLAS++ 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.

BLAS++ 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
BLAS++ is the LAPACK++ project, which provides a C++ API for LAPACK.

WWW: https://bitbucket.org/icl/blaspp/src/master/
49 changes: 49 additions & 0 deletions math/blaspp/pkg-plist
@@ -0,0 +1,49 @@
include/blas.hh
include/blas/asum.hh
include/blas/axpy.hh
include/blas/batch_common.hh
include/blas/config.h
include/blas/copy.hh
include/blas/defines.h
include/blas/device.hh
include/blas/device_blas.hh
include/blas/dot.hh
include/blas/dotu.hh
include/blas/flops.hh
include/blas/fortran.h
include/blas/gemm.hh
include/blas/gemv.hh
include/blas/ger.hh
include/blas/geru.hh
include/blas/hemm.hh
include/blas/hemv.hh
include/blas/her.hh
include/blas/her2.hh
include/blas/her2k.hh
include/blas/herk.hh
include/blas/iamax.hh
include/blas/mangling.h
include/blas/nrm2.hh
include/blas/rot.hh
include/blas/rotg.hh
include/blas/rotm.hh
include/blas/rotmg.hh
include/blas/scal.hh
include/blas/swap.hh
include/blas/symm.hh
include/blas/symv.hh
include/blas/syr.hh
include/blas/syr2.hh
include/blas/syr2k.hh
include/blas/syrk.hh
include/blas/trmm.hh
include/blas/trmv.hh
include/blas/trsm.hh
include/blas/trsv.hh
include/blas/util.hh
include/blas/wrappers.hh
lib/blaspp/blasppConfig.cmake
lib/blaspp/blasppConfigVersion.cmake
lib/blaspp/blasppTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/blaspp/blasppTargets.cmake
lib/libblaspp.so

0 comments on commit db5eeb2

Please sign in to comment.