blob: 7ee1e57bb121ad94a92a9cab874cc9535fe64579 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# no CUDA
makedepends=(
${makedepends[@]/cuda/}
)
pkgdesc+=", without CUDA support"
eval "$(
declare -f build | \
sed '
s/cmake /cmake -DNO_CUDA=ON /
'
)"
eval "$(
declare -f prepare | \
sed '
/cuda.*patch/d
'
)"
|