summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Zhang2017-09-25 12:34:57 +0800
committerStephen Zhang2017-09-25 12:34:57 +0800
commit76253cb09c621ea3eb239010d8c38868864b1dbf (patch)
treea53bd87106792b3f8ba6b9b0b462dd335cb50637
parenta8261d0151d550f0ff4e66b948ff6e13e8fc539f (diff)
downloadaur-76253cb09c621ea3eb239010d8c38868864b1dbf.tar.gz
Add submodule
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c11db952dce..86448a81e2e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri May 5 05:33:49 UTC 2017
+# Mon Sep 25 04:34:29 UTC 2017
pkgbase = python-pytorch-git
pkgdesc = Tensors and Dynamic neural networks in Python with strong GPU acceleration
pkgver = 0.1.10.r46.gbe6322e4
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/pytorch/pytorch
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index c2c17fcf927..aa0c9a8949e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase="python-pytorch-git"
pkgname=("python-pytorch-git" "python2-pytorch-git")
_pkgname="pytorch"
pkgver=0.1.10.r46.gbe6322e4
-pkgrel=2
+pkgrel=3
pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration"
arch=('x86_64')
url="https://github.com/pytorch/pytorch"
@@ -26,7 +26,8 @@ pkgver () {
prepare() {
- cd "$srcdir/"
+ cd "$srcdir/${_pkgname}"
+ git submodule update --init
cp -a "${_pkgname}" "${_pkgname}-py2"
cd "${_pkgname}"