community/opensubdiv to 3.4.3-3

This commit is contained in:
Kevin Mihelich 2020-10-02 16:55:57 +00:00
parent 2d3afc9746
commit 128126bd1e
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@
pkgname=opensubdiv
pkgver=3.4.3
pkgrel=2
pkgrel=3
pkgdesc="An Open-Source subdivision surface library"
arch=(x86_64)
url="http://graphics.pixar.com/opensubdiv"
@ -17,7 +17,7 @@ source=("https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${pkgver//
cuda9.patch)
sha512sums=('44fd1361d9e7f48c3fa84f3420ed34743571220602aefb082a42f769ca5b8e9ac21907ce8714f6e3a2caadd75adae03c535a1949a8e6450dfea9ae7a2247cfc2'
'035a6691080e9ec1a6eb5e4a7746f3f0ba6caea4b74c1bfededdc477b701431456b026ee75dbf7ca03fabd6526f62e9181c616a62304f26e614474577b96fcc7'
'2aa815acdb873274afb5629c7604ad2586c460a32a7b141c04f71313d03c768798461439cd1b66db565170ca21c7b05a3f8456ab7635b5eb73b1762bea312f4b')
'fe51160959f71f33e3c8008158f9f98c3c7a065b22360e7719ec1d262105b35d02c2c2f64f05acee58281c938a007a88054dcc07f1aef89908e6dbf4e3e3ab6f')
prepare() {
cd "OpenSubdiv-${pkgver//./_}"
@ -42,5 +42,5 @@ package() {
DESTDIR="$pkgdir/" make install
rm -rf ${pkgdir}/usr/bin
rm -rf "${pkgdir}"/usr/bin
}

View file

@ -19,7 +19,7 @@ index 4f3cd9d40..fa438b461 100644
+ elseif (CUDA_VERSION_MAJOR LESS 9)
set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_20 )
+ else()
+ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_30 )
+ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_35 )
endif()
endif()
endif()