diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = python-pytorch-rocm pkgdesc = Tensors and Dynamic neural networks in Python with strong GPU acceleration - pkgver = 1.10.0 + pkgver = 1.10.2 pkgrel = 1 url = https://pytorch.org arch = x86_64 @@ -34,7 +34,7 @@ pkgbase = python-pytorch-rocm depends = onednn depends = intel-mkl depends = python-typing_extensions - source = pytorch-1.10.0::git+https://github.com/pytorch/pytorch.git#tag=v1.10.0 + source = pytorch-1.10.2::git+https://github.com/pytorch/pytorch.git#tag=v1.10.2 source = python-pytorch-rocm-ios-cmake::git+https://github.com/Yangqing/ios-cmake.git source = python-pytorch-rocm-pthreadpool::git+https://github.com/Maratyszcza/pthreadpool.git source = python-pytorch-rocm-FP16::git+https://github.com/Maratyszcza/FP16.git @@ -4,8 +4,8 @@ pkgname=python-pytorch-rocm _pkgname="pytorch" -pkgver=1.10.0 -_pkgver=1.10.0 +pkgver=1.10.2 +_pkgver=1.10.2 pkgrel=1 _pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration" pkgdesc="${_pkgdesc}" @@ -247,8 +247,10 @@ build() { python setup.py build --cmake-only sed -E -i 's#opt/rocm/hip/lib/libamdhip64\.so\.[0-9.]+-#opt/rocm/hip/lib/libamdhip64.so#' build/build.ninja - # same horrible hack as above - python setup.py build + # this horrible hack is necessary because the current release + # ships inconsistent CMake which tries to build objects before + # thier dependencies, build twice when dependencies are available + python setup.py build || python setup.py build } _package() { |