Blaze: bump (#9320)

This commit is contained in:
extrowerk
2023-09-01 08:05:34 +02:00
committed by GitHub
parent 55d820c4f6
commit 95b4c5ad02

View File

@@ -0,0 +1,72 @@
SUMMARY="A C++ math library for dense and sparse arithmetic"
DESCRIPTION="The Blaze library offers :
* high performance through the integration of BLAS libraries and manually \
tuned HPC math kernels
* vectorization by SSE, SSE2, SSE3, SSSE3, SSE4, AVX, AVX2, AVX-512, FMA, \
and SVML
* parallel execution by OpenMP, C++11 threads and Boost threads
* the intuitive and easy to use API of a domain specific language
* unified arithmetic with dense and sparse vectors and matrices
* thoroughly tested matrix and vector arithmetic
* completely portable, high quality C++ source code"
HOMEPAGE="https://bitbucket.org/blaze-lib/blaze/"
COPYRIGHT="2012-2020 Klaus Iglberger"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://bitbucket.org/blaze-lib/blaze/downloads/blaze-$portVersion.tar.gz"
CHECKSUM_SHA256="4c4e1915971efbedab95790e4c5cf017d8448057fa8f8c62c46e1643bf72cbb1"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
blaze$secondaryArchSuffix = $portVersion
devel:blaze$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:liblapack$secondaryArchSuffix
lib:libopenblas$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:liblapack$secondaryArchSuffix
devel:libopenblas$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
mkdir -p build && cd "$_"
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs
make $jobArgs
}
INSTALL()
{
cd build
make install
mkdir -p $includeDir $libDir
mv $prefix/include/blaze $includeDir
mv $prefix/share/blaze/cmake $libDir
rmdir $prefix/include $prefix/share/blaze $prefix/share
}
TEST()
{
#make test
# blaze provides no tests
true
}