diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-30 09:46:04 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-30 09:46:04 +0200 |
commit | 928c9e470d2fab24c981d7723684fff4d4415711 (patch) | |
tree | 1d7cc1fe9b1b6ed629adecbaeaaaa6698fddbd24 | |
parent | e6ec0980a301d6625aa071f456ee33d29d312b32 (diff) | |
download | packages-928c9e470d2fab24c981d7723684fff4d4415711.tar.xz |
community/opensubdiv: disabling CUDA explicitely with -DNO_CUDA=ON
-rw-r--r-- | community/opensubdiv/PKGBUILD | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/opensubdiv/PKGBUILD b/community/opensubdiv/PKGBUILD index 27a66260..7ee1e57b 100644 --- a/community/opensubdiv/PKGBUILD +++ b/community/opensubdiv/PKGBUILD @@ -1,4 +1,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 + ' +)" |