mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
BLIS: version bump (#3517)
This commit is contained in:
@@ -8,23 +8,29 @@ 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"
|
||||
COPYRIGHT="2014 The University of Texas at Austin
|
||||
2018 Advanced Micro Devices, Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/flame/blis/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a0c00e6e4ae215e8d965226c2446c2e53f121b31c3b8ff5ca983b0a51ed2fd25"
|
||||
CHECKSUM_SHA256="7816a1f6085b1d779f074bca2435c195c524582edbb04d9cd399dade9187a72d"
|
||||
PATCHES="blis-$portVersion.patchset"
|
||||
|
||||
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/haswell/make_defs.mk keep-old
|
||||
settings/blis/config/$TARGET/make_defs.mk keep-old
|
||||
settings/blis/config.mk keep-old
|
||||
"
|
||||
|
||||
libVersion="1.0.0"
|
||||
libVersion="2.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
@@ -68,7 +74,7 @@ BUILD()
|
||||
--libdir=$libDir \
|
||||
--includedir=$includeDir \
|
||||
--sharedir=$settingsDir \
|
||||
auto
|
||||
$TARGET # CPU target
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -83,3 +89,14 @@ INSTALL()
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd blastest
|
||||
make $jobArgs
|
||||
make run
|
||||
cd ..
|
||||
cd testsuite
|
||||
make $jobArgs
|
||||
./test_libblis.x
|
||||
}
|
||||
Reference in New Issue
Block a user