diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -7,7 +7,7 @@ pkgname=python-pytorch-rocm _pkgname="pytorch" pkgver=1.11.0 _pkgver=1.11.0 -pkgrel=2 +pkgrel=3 _pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration" pkgdesc="${_pkgdesc}" arch=('x86_64') @@ -62,6 +62,7 @@ source=("${_pkgname}-${pkgver}::git+https://github.com/pytorch/pytorch.git#tag=v fix_include_system.patch use-system-libuv.patch fix-building-for-torchvision.patch + 98f9ff90268ae62ab6d794cce0786121bf17edc9.patch ffmpeg4.4.patch https://github.com/pytorch/pytorch/commit/eb4e6ca30c2cd876007cd2dbbdea7f7803af0518.patch) sha256sums=('SKIP' @@ -106,6 +107,7 @@ sha256sums=('SKIP' '557761502bbd994d9795bef46779e4b8c60ba0b45e7d60841f477d3b7f28a00a' 'cd9ac4aaa9f946ac5eafc57cf66c5c16b3ea7ac8af32c2558fad0705411bb669' '600bd6a4bbcec9f99ab815d82cee1c2875530b2b75f4010da5ba72ce9bf31aff' + 'cf6ec8e4952765b190e1cae247a814dd1e6b3e9c8b3ad5600118d69d6faa6eb5' '75001b59e76831b0c93a547f851cb980e00b0d8cc7b66fb507eaeac217dc6ff9' 'SKIP') options=('!lto') @@ -170,6 +172,9 @@ prepare() { # https://bugs.archlinux.org/task/64981 patch -N torch/utils/cpp_extension.py "${srcdir}"/fix_include_system.patch + # Fix https://bugs.archlinux.org/task/74593 + patch -Np1 -i "${srcdir}"/98f9ff90268ae62ab6d794cce0786121bf17edc9.patch + # Use system libuv patch -Np1 -i "${srcdir}"/use-system-libuv.patch |