diff options
author | acxz | 2022-02-21 14:24:19 -0500 |
---|---|---|
committer | acxz | 2022-02-21 14:24:19 -0500 |
commit | d7b68007955d6e299360f7e444e7703b6e86fe00 (patch) | |
tree | 294fb67038f427eadfb28d22968ac2f034afa521 | |
parent | aa3e96229c10a903caa039dfea0b1b1b1a8cf6f8 (diff) | |
download | aur-d7b68007955d6e299360f7e444e7703b6e86fe00.tar.gz |
it builds on my system
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -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 @@ -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 |