summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoracxz2022-02-21 14:24:19 -0500
committeracxz2022-02-21 14:24:19 -0500
commitd7b68007955d6e299360f7e444e7703b6e86fe00 (patch)
tree294fb67038f427eadfb28d22968ac2f034afa521
parentaa3e96229c10a903caa039dfea0b1b1b1a8cf6f8 (diff)
downloadaur-d7b68007955d6e299360f7e444e7703b6e86fe00.tar.gz
it builds on my system
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bf248dbbd45e..86e303dce97e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-pytorch-rocm
pkgdesc = Tensors and Dynamic neural networks in Python with strong GPU acceleration
pkgver = 1.11.0rc2
- pkgrel = 2
+ pkgrel = 3
url = https://pytorch.org
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 9bf35f099a32..84147f49b573 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python-pytorch-rocm
_pkgname="pytorch"
pkgver=1.11.0rc2
_pkgver=1.11.0-rc2
-pkgrel=2
+pkgrel=3
_pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration"
pkgdesc="${_pkgdesc}"
arch=('x86_64')
@@ -288,7 +288,10 @@ _package() {
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- pytorchpath="usr/lib/python${get_pyver}/site-packages/torch"
+ # pytorchpath="usr/lib/python${get_pyver}/site-packages/torch"
+ # ${get_pyver} does not return anything makepkg
+ # hardcode to 3.10 for now
+ pytorchpath="usr/lib/python3.10/site-packages/torch"
install -d "${pkgdir}/usr/lib"
# put CMake files in correct place