python-pytorch-rocm: only build opt version

This commit is contained in:
Gabriel Ebner 2021-01-14 20:28:42 +01:00
parent d5c96a7fd9
commit c2bceeb87d
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored

@ -14,3 +14,5 @@ digimend-drivers-git-dkms/digimend-kernel-drivers
/pulseaudio-dlna/pulseaudio-dlna /pulseaudio-dlna/pulseaudio-dlna
/pulseaudio-dlna/wait_for_chromecast.patch /pulseaudio-dlna/wait_for_chromecast.patch
/xournalpp-git/xournalpp /xournalpp-git/xournalpp
/python-pytorch-rocm/find-hsa-runtime.patch
/python-pytorch-rocm/pytorch-1.7.1/

@ -5,7 +5,7 @@
pkgbase=python-pytorch-rocm pkgbase=python-pytorch-rocm
# Flags for building without/with cpu optimizations # Flags for building without/with cpu optimizations
_build_no_opt=1 _build_no_opt=0
_build_opt=1 _build_opt=1
pkgname=() pkgname=()
@ -15,7 +15,7 @@ pkgname=()
_pkgname="pytorch" _pkgname="pytorch"
pkgver=1.7.1 pkgver=1.7.1
_pkgver=1.7.1 _pkgver=1.7.1
pkgrel=7 pkgrel=8
pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration" pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration"
arch=('x86_64') arch=('x86_64')
url="https://pytorch.org" url="https://pytorch.org"