graphics/OpenSubdiv: Update for latest tbb

Signed-off-by: Christoph Willing <chris.willing@linux.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Christoph Willing 2023-11-11 08:46:10 +10:00 committed by Willy Sudiarto Raharjo
parent b66718dbf4
commit 83b266040d
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 4 additions and 6 deletions

View File

@ -32,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenSubdiv
VERSION=${VERSION:-3.6.0}
SRCVER=$(echo $VERSION | tr . _)
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -76,7 +76,7 @@ tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
sed -i -e '/${OPENGL_gl_LIBRARY}/a${OPENGL_glx_LIBRARY}' CMakeLists.txt
patch -p0 < $CWD/CUDA-compatibility.patch
if test -e /usr/include/tbb ; then cp $CWD/FindTBB.cmake cmake/ ; fi
#if test -e /usr/include/tbb ; then cp $CWD/FindTBB.cmake cmake/ ; fi
# Silence CL_TARGET_OPENCL_VERSION pragmas
sed -i -e '/opencl.h/i#define CL_TARGET_OPENCL_VERSION 300' opensubdiv/osd/opencl.h

View File

@ -1,10 +1,8 @@
PRGNAM="OpenSubdiv"
VERSION="3.6.0"
HOMEPAGE="http://graphics.pixar.com/opensubdiv"
DOWNLOAD="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v3_6_0/OpenSubdiv-3_6_0.tar.gz \
https://raw.githubusercontent.com/NVIDIA/thrust/9f1cddc62b1bebbaeb8d07d4476c285be5aa0adc/thrust/cmake/FindTBB.cmake"
MD5SUM="cd03aaf8890bc0b8550eef62029cabe7 \
f50337da9c4279f8383d216e12191762"
DOWNLOAD="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v3_6_0/OpenSubdiv-3_6_0.tar.gz"
MD5SUM="cd03aaf8890bc0b8550eef62029cabe7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""