mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
openblas: fix provide, observe $jobArgs.
* cmake files go in devel package.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
SUMMARY="An optimized BLAS library based on GotoBLAS2 1.13 BSD version"
|
||||
DESCRIPTION="OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version."
|
||||
SUMMARY="An optimized BLAS library"
|
||||
DESCRIPTION="OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD\
|
||||
version."
|
||||
HOMEPAGE="http://www.openblas.net/"
|
||||
COPYRIGHT="2011-2015 The OpenBLAS Project"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://github.com/xianyi/OpenBLAS/archive/v0.2.19.tar.gz"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://github.com/xianyi/OpenBLAS/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="9c40b5e4970f27c5f6911cb0a28aa26b6c83f17418b69f8e5a116bb983ca8557"
|
||||
SOURCE_DIR="OpenBLAS-$portVersion"
|
||||
PATCHES="openblas-$portVersion.patchset"
|
||||
@@ -14,7 +15,7 @@ SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
PROVIDES="
|
||||
openblas$secondaryArchSuffix = $portVersion
|
||||
lib:libopenblas$secondaryArchSuffix = $portVersion compat >= 0
|
||||
lib:libopenblasp_r${portVersion}_$secondaryArchSuffix = $portVersion compat >= 0
|
||||
lib:libopenblasp_r${portVersion}$secondaryArchSuffix = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -44,7 +45,7 @@ BUILD()
|
||||
{
|
||||
# DYNAMIC_ARCH is x86 only
|
||||
# PPC & others should specify TARGET=
|
||||
make NO_LAPACKE=1 NO_AFFINITY=1 NO_WARMUP=1 \
|
||||
make MAKE_NB_JOBS=${jobArgs#-j} NO_LAPACKE=1 NO_AFFINITY=1 NO_WARMUP=1 \
|
||||
NUM_THREADS=64 \
|
||||
DYNAMIC_ARCH=1
|
||||
}
|
||||
@@ -55,9 +56,9 @@ INSTALL()
|
||||
OPENBLAS_LIBRARY_DIR=$libDir \
|
||||
OPENBLAS_INCLUDE_DIR=$includeDir
|
||||
|
||||
prepareInstalledDevelLib libopenblas
|
||||
prepareInstalledDevelLib libopenblasp-r$portVersion
|
||||
prepareInstalledDevelLibs libopenblas libopenblasp-r$portVersion
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
$developDir \
|
||||
$libDir/cmake
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user