index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-05-27 08:20:24 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-05-27 08:20:24 +0200 |
commit | 24c30f5e9479142383a8f43a3a2fb252ae518634 (patch) | |
tree | 97d652ffb7dba23d6173233f8220d6be7f46e122 /community/arrayfire/PKGBUILD | |
parent | 01cf34e3f4a411326359941ded36d5664e4e1c3a (diff) |
-rw-r--r-- | community/arrayfire/PKGBUILD | 21 |
diff --git a/community/arrayfire/PKGBUILD b/community/arrayfire/PKGBUILD index 95128825..dbc3d30d 100644 --- a/community/arrayfire/PKGBUILD +++ b/community/arrayfire/PKGBUILD @@ -1,5 +1,7 @@ +# modern cuda is no longer available for 32-bit makedepends=(${makedepends[@]//cuda/}) +# force 32-bit compilation eval "$( declare -f build | \ sed ' @@ -10,3 +12,22 @@ eval "$( } ' )" + +# compilation issues around dim_t casts, see https://github.com/arrayfire/arrayfire/issues/2161 +source+=(arrayfire-full-3.6.0-dim-cast.patch) +sha512sums+=('0db9eaac34c0d1126bb771ed62bbafe9aef0373ef947f54f308ed943f77cb81e543fbe9c107a781d76168fbb8effb6a4c3005b7c6dae4a2a0395ed26c9a2f33d') +eval "$( + declare -f prepare | \ + sed ' + /cd /a patch -Np1 -i ${srcdir}/arrayfire-full-3.6.0-dim-cast.patch + ' +)" + +source+=(arrayfire-full-3.6.0-no-cuda-backend-testing.patch) +sha512sums+=('7c5912ecf59932a4c00f859190174b5b88f01010d131dfef4b013940543f157698d048297eb8c86e1d5289df8f7eb6d769fd39f069b7bf3262800ceca98d09fc') +eval "$( + declare -f prepare | \ + sed ' + /cd /a patch -Np1 -i ${srcdir}/arrayfire-full-3.6.0-no-cuda-backend-testing.patch + ' +)" |