diff options
Diffstat (limited to 'libraries/OpenBLAS/OpenBLAS.SlackBuild')
-rw-r--r-- | libraries/OpenBLAS/OpenBLAS.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libraries/OpenBLAS/OpenBLAS.SlackBuild b/libraries/OpenBLAS/OpenBLAS.SlackBuild index ca5ffb1901..994162c534 100644 --- a/libraries/OpenBLAS/OpenBLAS.SlackBuild +++ b/libraries/OpenBLAS/OpenBLAS.SlackBuild @@ -6,7 +6,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="OpenBLAS" -VERSION=${VERSION:-0.3.12} +VERSION=${VERSION:-0.3.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -21,6 +21,7 @@ if [ -z "$ARCH" ]; then esac fi EXTRAPARMS="" +TARGET=${TARGET:-"GENERIC"} if [ "x`uname -p|grep QEMU|wc -l`" = "x1" ]; then #we are running in a vm with a QEMU cpu. OpenBLAS does not like this EXTRAPARMS="DYNAMIC_ARCH=1" @@ -33,9 +34,7 @@ if [ "x`uname -p|grep QEMU|wc -l`" = "x1" ]; then EXTRAPARMS=$EXTRAPARMS" TARGET="$TARGET fi fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. + if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -68,7 +67,7 @@ find -L . \ make $EXTRAPARMS \ DYNAMIC_ARCH=1 \ - TARGET=GENERIC \ + TARGET=$TARGET \ NO_STATIC=1 \ NO_AFFINITY=1 \ BUILD_RELAPACK=1 \ @@ -78,7 +77,7 @@ make $EXTRAPARMS \ make \ $EXTRAPARMS \ DYNAMIC_ARCH=1 \ - TARGET=GENERIC \ + TARGET=$TARGET \ NO_STATIC=1 \ NO_AFFINITY=1 \ BUILD_RELAPACK=1 \ |