summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMaarten de Vries2020-07-07 00:04:09 +0200
committerMaarten de Vries2020-07-07 00:04:09 +0200
commit67a2228bed738463a7c42143d3b0f2018fcc25c7 (patch)
tree3aab7f61e1fdf66c63d7b975c16ee400a53e4cbe /PKGBUILD
parent0f0d2acc95472ba57bc50e2769a552b80bc83174 (diff)
downloadaur-torchvision.tar.gz
Update to 0.6.1 and force compilation with -O3.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 61e73dcd572..78ea8b636c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgname=torchvision
pkgdesc='datasets, transforms, and models specific to computer vision (C++ library only)'
-pkgver=0.6.0
-pkgrel=2
+pkgver=0.6.1
+pkgrel=1
license=("BSD")
url='https://github.com/pytorch/vision'
arch=('x86_64')
@@ -12,9 +12,7 @@ source=(
"$pkgname-$pkgver.tar.gz::https://github.com/pytorch/vision/archive/v$pkgver.tar.gz"
)
-sha512sums=(
- '85702dae2bd9dadd0341da4dff72ed279c17120ebe3b82abaf94197f3c78958603366ea2eeb578b17f9dae456eb59a7413b92178ab6db945694b95128785addd'
-)
+sha512sums=('428235ae9412d176dc62eb42ed926caa5199bab448e7798fa240d69c1337e1ca5423c45a34bd6f4527e7ccafb927f53743311f8701dcee5f168bacc60f1d6750')
depends=(
python
@@ -32,6 +30,7 @@ prepare() {
cmake "../vision-$pkgver" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} -O3" \
-DWITH_CUDA=OFF
}