summaryrefslogtreecommitdiffstats
path: root/academic/xsimd/xsimd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/xsimd/xsimd.SlackBuild')
-rw-r--r--academic/xsimd/xsimd.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/academic/xsimd/xsimd.SlackBuild b/academic/xsimd/xsimd.SlackBuild
index 7c58e10170..f15fa4eb2b 100644
--- a/academic/xsimd/xsimd.SlackBuild
+++ b/academic/xsimd/xsimd.SlackBuild
@@ -1,7 +1,9 @@
#!/bin/bash
# Slackware build script for xsimd
-# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
+
+# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xsimd
-VERSION=${VERSION:-9.0.1}
+VERSION=${VERSION:-11.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -37,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
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
@@ -51,16 +50,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e