mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
Blis: bump (#5447)
This commit is contained in:
@@ -8,13 +8,14 @@ new BLAS-like API, it also includes a BLAS compatibility layer which gives \
|
|||||||
application developers access to BLIS implementations via traditional BLAS \
|
application developers access to BLIS implementations via traditional BLAS \
|
||||||
routine calls. An object-based API unique to BLIS is also available."
|
routine calls. An object-based API unique to BLIS is also available."
|
||||||
HOMEPAGE="https://github.com/flame/blis"
|
HOMEPAGE="https://github.com/flame/blis"
|
||||||
COPYRIGHT="2014 The University of Texas at Austin
|
COPYRIGHT="2018 The University of Texas at Austin
|
||||||
2019 Advanced Micro Devices, Inc."
|
2016 Hewlett Packard Enterprise Development LP
|
||||||
|
2018-2019 Advanced Micro Devices, Inc."
|
||||||
LICENSE="BSD (3-clause)"
|
LICENSE="BSD (3-clause)"
|
||||||
REVISION="1"
|
REVISION="1"
|
||||||
SOURCE_URI="https://github.com/flame/blis/archive/$portVersion.tar.gz"
|
SOURCE_URI="https://github.com/flame/blis/archive/$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="ad5765cc3f492d0c663f494850dafc4d72f901c332eb442f404814ff2995e5a9"
|
CHECKSUM_SHA256="5e05868c4a6cf5032a7492f8861653e939a8f907a4fa524bbb6e14394e170a3d"
|
||||||
PATCHES="blis-$portVersion.patchset"
|
#PATCHES="blis-$portVersion.patchset"
|
||||||
|
|
||||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
SECONDARY_ARCHITECTURES="x86"
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
@@ -30,7 +31,7 @@ GLOBAL_WRITABLE_FILES="
|
|||||||
settings/blis/config.mk keep-old
|
settings/blis/config.mk keep-old
|
||||||
"
|
"
|
||||||
|
|
||||||
libVersion="2.0.0"
|
libVersion="3.0.0"
|
||||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
@@ -59,7 +60,7 @@ BUILD_PREREQUIRES="
|
|||||||
cmd:g++$secondaryArchSuffix
|
cmd:g++$secondaryArchSuffix
|
||||||
cmd:make
|
cmd:make
|
||||||
cmd:perl
|
cmd:perl
|
||||||
cmd:python2
|
cmd:python3
|
||||||
"
|
"
|
||||||
|
|
||||||
defineDebugInfoPackage blis$secondaryArchSuffix \
|
defineDebugInfoPackage blis$secondaryArchSuffix \
|
||||||
94
sci-libs/blis/blis060-0.6.0.recipe
Normal file
94
sci-libs/blis/blis060-0.6.0.recipe
Normal file
@@ -0,0 +1,94 @@
|
|||||||
|
SUMMARY="BLAS-like Library Instantiation Software framework"
|
||||||
|
DESCRIPTION="BLIS is a portable software framework for instantiating \
|
||||||
|
high-performance BLAS-like dense linear algebra libraries. The framework \
|
||||||
|
was designed to isolate essential kernels of computation that, when \
|
||||||
|
optimized, immediately enable optimized implementations of most of its \
|
||||||
|
commonly used and computationally intensive operations. While BLIS exports a \
|
||||||
|
new BLAS-like API, it also includes a BLAS compatibility layer which gives \
|
||||||
|
application developers access to BLIS implementations via traditional BLAS \
|
||||||
|
routine calls. An object-based API unique to BLIS is also available."
|
||||||
|
HOMEPAGE="https://github.com/flame/blis"
|
||||||
|
COPYRIGHT="2014 The University of Texas at Austin
|
||||||
|
2019 Advanced Micro Devices, Inc."
|
||||||
|
LICENSE="BSD (3-clause)"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="https://github.com/flame/blis/archive/$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="ad5765cc3f492d0c663f494850dafc4d72f901c332eb442f404814ff2995e5a9"
|
||||||
|
PATCHES="blis-$portVersion.patchset"
|
||||||
|
SOURCE_DIR="blis-$portVersion"
|
||||||
|
|
||||||
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
TARGET="generic"
|
||||||
|
if [ "$effectiveTargetArchitecture" = x86_64 ]; then
|
||||||
|
TARGET="x86_64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
GLOBAL_WRITABLE_FILES="
|
||||||
|
settings/blis/common.mk keep-old
|
||||||
|
settings/blis/config/$TARGET/make_defs.mk keep-old
|
||||||
|
settings/blis/config.mk keep-old
|
||||||
|
"
|
||||||
|
|
||||||
|
libVersion="2.0.0"
|
||||||
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
blis060$secondaryArchSuffix = $portVersion
|
||||||
|
lib:libblis$secondaryArchSuffix = $libVersionCompat
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
lib:libgomp$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:awk
|
||||||
|
cmd:find
|
||||||
|
cmd:g++$secondaryArchSuffix
|
||||||
|
cmd:make
|
||||||
|
cmd:perl
|
||||||
|
cmd:python2
|
||||||
|
"
|
||||||
|
|
||||||
|
defineDebugInfoPackage blis060$secondaryArchSuffix \
|
||||||
|
"$libDir"/libblis.so.$libVersion
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
# Not an autotools configure
|
||||||
|
./configure \
|
||||||
|
--enable-threading=openmp \
|
||||||
|
--prefix=$prefix \
|
||||||
|
--libdir=$libDir \
|
||||||
|
--includedir=$includeDir \
|
||||||
|
--sharedir=$settingsDir \
|
||||||
|
$TARGET # CPU target
|
||||||
|
make $jobArgs
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make install
|
||||||
|
|
||||||
|
prepareInstalledDevelLib libblis
|
||||||
|
|
||||||
|
fixPkgconfig
|
||||||
|
|
||||||
|
rm -rf $developDir
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST()
|
||||||
|
{
|
||||||
|
cd blastest
|
||||||
|
make $jobArgs
|
||||||
|
make run
|
||||||
|
cd ..
|
||||||
|
cd testsuite
|
||||||
|
make $jobArgs
|
||||||
|
./test_libblis.x
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user