development/OpenCL-CLHPP: Updated for version 2024.05.08.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b010ca76ab
commit
bacc089d7c
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=OpenCL-CLHPP
|
||||
VERSION=${VERSION:-2023.12.14}
|
||||
VERSION=${VERSION:-2024.05.08}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -47,19 +47,7 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "aarch64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
elif [ "$ARCH" = "arm" ]; then
|
||||
SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
fi
|
||||
ARCH=noarch
|
||||
|
||||
set -e
|
||||
|
||||
|
@ -89,7 +77,6 @@ cd build
|
|||
make install/strip DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="OpenCL-CLHPP"
|
||||
VERSION="2023.12.14"
|
||||
HOMEPAGE="https://github.com/KhronosGroup/"
|
||||
DOWNLOAD="https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v2023.12.14/OpenCL-CLHPP-2023.12.14.tar.gz"
|
||||
MD5SUM="5efb45d5a8830271ac24fcef4a2e7df6"
|
||||
VERSION="2024.05.08"
|
||||
HOMEPAGE="https://github.com/KhronosGroup/OpenCL-CLHPP/"
|
||||
DOWNLOAD="https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v2024.05.08/OpenCL-CLHPP-2024.05.08.tar.gz"
|
||||
MD5SUM="8f1a8c6f309c565117fc92e591537df9"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue