summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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
}