mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
blaze, revbump, drop lapack dependency (#13293)
This commit is contained in:
@@ -12,7 +12,7 @@ and SVML
|
||||
HOMEPAGE="https://bitbucket.org/blaze-lib/blaze/"
|
||||
COPYRIGHT="2012-2020 Klaus Iglberger"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://bitbucket.org/blaze-lib/blaze/downloads/blaze-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4c4e1915971efbedab95790e4c5cf017d8448057fa8f8c62c46e1643bf72cbb1"
|
||||
|
||||
@@ -25,13 +25,11 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:liblapack$secondaryArchSuffix
|
||||
lib:libopenblas$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:liblapack$secondaryArchSuffix
|
||||
devel:libopenblas$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
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="3"
|
||||
SOURCE_URI="https://bitbucket.org/blaze-lib/blaze/downloads/blaze-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="dfaae1a3a9fea0b3cc92e78c9858dcc6c93301d59f67de5d388a3a41c8a629ae"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user