summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d838a0cec1d..3c7ce38df2b9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat May 20 13:44:40 UTC 2017
+# Thu Jun 15 01:11:17 UTC 2017
pkgbase = caffe2-git
pkgdesc = A new lightweight, modular, and scalable deep learning framework (git version, gpu enabled)
pkgver = 0.7.0.r252.ge6c6b859
- pkgrel = 1
+ pkgrel = 2
url = http://caffe2.ai/
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 51949f73d0cb..39a3f2db403f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=caffe2-git
pkgver=0.7.0.r252.ge6c6b859
-pkgrel=1
+pkgrel=2
pkgdesc="A new lightweight, modular, and scalable deep learning framework (git version, gpu enabled)"
arch=('x86_64')
url="http://caffe2.ai/"
@@ -87,6 +87,11 @@ prepare() {
git config "submodule.third_party/${_submodule}.url" "${srcdir}/${_submodule_dir}"
done
git submodule update
+
+ # avoid errors with gloo if using '-march=native' in a cpu with AVX2
+ # https://github.com/facebookincubator/gloo/issues/43
+ cd third_party/gloo
+ git checkout 21a5c8ea5e02edca03068790df3d7f7ba4e2d75b
}
pkgver() {
@@ -190,7 +195,6 @@ package() {
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
# move/rename folders to the right location
- mv -f "${pkgdir}/usr/binaries" "${pkgdir}/usr/bin"
mv -f "${pkgdir}/usr/caffe" "${pkgdir}/usr/lib/python2.7/site-packages"
mv -f "${pkgdir}/usr/caffe2" "${pkgdir}/usr/lib/python2.7/site-packages"