community/opensubdiv to 3.5.0-2

This commit is contained in:
Kevin Mihelich 2022-11-14 13:53:42 +00:00
parent f138acd5f4
commit b6105e9a6c

View file

@ -5,7 +5,7 @@
pkgname=opensubdiv
pkgver=3.5.0
pkgrel=1
pkgrel=2
pkgdesc="An Open-Source subdivision surface library"
arch=(x86_64)
url="http://graphics.pixar.com/opensubdiv"
@ -36,7 +36,20 @@ build() {
-DNO_REGRESSION=ON \
-DNO_TUTORIALS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DOSD_CUDA_NVCC_FLAGS='--gpu-architecture=compute_53' \
-DOSD_CUDA_NVCC_FLAGS="-gencode=arch=compute_52,code=sm_52 \
-gencode=arch=compute_53,code=sm_53 \
-gencode=arch=compute_60,code=sm_60 \
-gencode=arch=compute_61,code=sm_61 \
-gencode=arch=compute_62,code=sm_62 \
-gencode=arch=compute_70,code=sm_70 \
-gencode=arch=compute_72,code=sm_72 \
-gencode=arch=compute_75,code=sm_75 \
-gencode=arch=compute_80,code=sm_80 \
-gencode=arch=compute_86,code=sm_86 \
-gencode=arch=compute_87,code=sm_87 \
-gencode=arch=compute_89,code=sm_89 \
-gencode=arch=compute_90,code=sm_90 \
-gencode=arch=compute_90,code=compute_90" \
-DCUDA_HOST_COMPILER=/usr/bin/g++ \
-DCMAKE_INSTALL_PREFIX=/usr