diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |