[arch-commits] Commit in opensubdiv/trunk (PKGBUILD cuda11.patch)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Thu Sep 9 17:02:18 UTC 2021
Date: Thursday, September 9, 2021 @ 17:02:18
Author: kgizdov
Revision: 1013100
upgpkg: opensubdiv 3.4.4-6: cuda 11.4.2 rebuild
Modified:
opensubdiv/trunk/PKGBUILD
opensubdiv/trunk/cuda11.patch
--------------+
PKGBUILD | 6 +++---
cuda11.patch | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-09 16:54:32 UTC (rev 1013099)
+++ PKGBUILD 2021-09-09 17:02:18 UTC (rev 1013100)
@@ -1,7 +1,7 @@
# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
pkgname=opensubdiv
pkgver=3.4.4
-pkgrel=5
+pkgrel=6
pkgdesc="An Open-Source subdivision surface library"
arch=(x86_64)
url="http://graphics.pixar.com/opensubdiv"
@@ -13,7 +13,7 @@
cuda11.patch)
sha512sums=('fc8f28b79347015c8991150535c1339e695d96947c72fadd4fa27b546a0813c1125cd175ee03bed5aacdb3609f74c4e526ef70103d1195ba9f7df041e73ea9fb'
'10f1f63e07d59deb4d91ba04448bb360efff0e41202bb6737caffbce09ba244efb349fe25b24880420b80fdadb268aed84923464af0d66ee1a36e4ba8f96cfd5'
- 'a9f15c1c2c66d5ecfd4b9b9e8f5a5a455488c5745def284fc5f1ac22f4429974de2b85c6da5289c0290ec9a02c2e2d022fcd760e5d37f532a0cd8c479c7f2d1a')
+ '9006762976c15a57d30607189d52d0e620b5024da478dcd41a79a88b350740144a88c1a4f455bfb1b79a9f605e0587c1c828a9b0813301acec8bbb516c2bb292')
prepare() {
cd "OpenSubdiv-${pkgver//./_}"
@@ -31,7 +31,7 @@
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
- -DOSD_CUDA_NVCC_FLAGS='--gpu-architecture=compute_52' \
+ -DOSD_CUDA_NVCC_FLAGS='--gpu-architecture=compute_53' \
-DCUDA_HOST_COMPILER=/usr/bin/g++ \
-DCMAKE_INSTALL_PREFIX=/usr
Modified: cuda11.patch
===================================================================
--- cuda11.patch 2021-09-09 16:54:32 UTC (rev 1013099)
+++ cuda11.patch 2021-09-09 17:02:18 UTC (rev 1013100)
@@ -11,7 +11,7 @@
+ elseif (CUDA_VERSION_MAJOR LESS 11)
+ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_35 )
+ else()
-+ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_52 )
++ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_53 )
endif()
endif()
endif()
More information about the arch-commits
mailing list