diff options
author | bartus | 2019-08-25 14:14:27 +0200 |
---|---|---|
committer | bartus | 2019-08-25 14:14:27 +0200 |
commit | 52553a1c515de2382c54de432e84c1e8e5f11bcc (patch) | |
tree | 5e9daa0f0a22ee85fc656928d166de5283db4cea | |
parent | 8b1d913558c526e87e5560185a3657c5e8772b96 (diff) | |
download | aur-52553a1c515de2382c54de432e84c1e8e5f11bcc.tar.gz |
Yay: drop cuda from .SRCINFO:makedepends, leave warn in comment.
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -13,7 +13,6 @@ pkgbase = blender-2.8-git makedepends = mesa makedepends = llvm makedepends = ninja - makedepends = cuda depends = alembic depends = libgl depends = python @@ -68,7 +68,7 @@ build() { # determine whether we can precompile CUDA kernels _CUDA_PKG=`pacman -Qq cuda 2>/dev/null` || true - if [ "$_CUDA_PKG" != "" ]; then + if [ "$_CUDA_PKG" != "" ] && ! ((DISABLE_CUDA)) ; then _EXTRAOPTS=(-DWITH_CYCLES_CUDA_BINARIES=ON \ -DCUDA_TOOLKIT_ROOT_DIR=/opt/cuda) if [ -v _cuda_capability ]; then |