blob: 4a583535f3a92b26466a28190f1cbf7ed218027d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
makedepends=(
${makedepends[@]/cuda/}
)
pkgdesc+=", without nonfree CUDA support"
eval "$(
declare -f build \
| sed '
/^cmake / s/$/ -DWITH_CYCLES_CUDA_BINARIES=OFF -DWITH_CYCLES_DEVICE_CUDA=OFF
'
)"
source_i686+=('arm-no-sse2.patch')
sha512sum_i686+=('13890f9cd11ca20bcb6f12206c990e25c0d08699feab0fca37607d847d2aebd2d2f423023986e120eaaeb0beca9a440a4d42007dcac2054fe6cdaf745de43402')
if [ "${CARCH}" = 'i686' ]; then
eval "$(
declare -f prepare \
| sed '
$ i patch -Np1 -i "$srcdir"/arm-no-sse2.patch
'
)"
fi
|