summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXavier Cho2020-08-01 08:17:57 +0900
committerXavier Cho2020-08-01 08:17:57 +0900
commit5662ca8cad517f2ae6a10198772066eedb2a5de4 (patch)
tree863bacde2527998ab57d788cf729fd9c75f430a7 /PKGBUILD
parent57918089580402aa65c2abc217d473a22cc85f92 (diff)
downloadaur-5662ca8cad517f2ae6a10198772066eedb2a5de4.tar.gz
Fix build failure due to CUDA 11 update
CUDA 11 doesn't support sm_30 architecture anymore, so we should drop it with a patch, until Blender/UPBGE moves forward.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f71860f85b8..b2992750be1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Xavier Cho <mysticfallband@gmail.com>
pkgname=upbge-git
-pkgver=101471.6e94f8ab7d4
+pkgver=101932.d7b695c5250
pkgrel=1
pkgdesc="Uchronia Project Blender Game Engine fork of Blender Game Engine"
arch=('i686' 'x86_64')
@@ -28,6 +28,7 @@ source=('git://github.com/UPBGE/upbge.git' \
'blender-translations.git::git://git.blender.org/blender-translations.git' \
'blender-dev-tools.git::git://git.blender.org/blender-dev-tools.git' \
embree.patch \
+ cuda11.patch \
upbge.desktop)
md5sums=(
'SKIP'
@@ -36,6 +37,7 @@ md5sums=(
'SKIP'
'SKIP'
'1f0b37cb559e2b03d725677b19b80ba8'
+ '17fb962ec1fd7e539bfa5c5a4af8a675'
'37ce92c740691f858156511e22b40143')
# determine whether we can precompile CUDA kernels
@@ -84,6 +86,8 @@ prepare() {
if [ "$_EMBREE_PKG" != "" ]; then
git apply -v "${srcdir}"/embree.patch
fi
+
+ git apply -v "${srcdir}"/cuda11.patch
}
build() {