From 95b4c5ad02707aa422cff8396e776562d4a91fe0 Mon Sep 17 00:00:00 2001 From: extrowerk <5569059+extrowerk@users.noreply.github.com> Date: Fri, 1 Sep 2023 08:05:34 +0200 Subject: [PATCH] Blaze: bump (#9320) --- sci-libs/blaze/blaze-3.8.2.recipe | 72 +++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 sci-libs/blaze/blaze-3.8.2.recipe diff --git a/sci-libs/blaze/blaze-3.8.2.recipe b/sci-libs/blaze/blaze-3.8.2.recipe new file mode 100644 index 000000000..4ac4f8d9c --- /dev/null +++ b/sci-libs/blaze/blaze-3.8.2.recipe @@ -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 +}