diff options
author | Jingbei Li | 2016-11-01 21:25:59 +0800 |
---|---|---|
committer | Jingbei Li | 2016-11-01 21:25:59 +0800 |
commit | f039fc087f9f2d0e4c80d05c3440e04c2fd8f1db (patch) | |
tree | f19a9942792c6c261e9c3af6efd8f9dec6f60b23 | |
parent | 6dee8e990793ee4b49713f6b252588364380aaba (diff) | |
download | aur-f039fc087f9f2d0e4c80d05c3440e04c2fd8f1db.tar.gz |
Add a patch for Pascal GPU
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 5 deletions
@@ -1,16 +1,16 @@ # Generated by mksrcinfo v8 -# Sun Oct 16 12:17:02 UTC 2016 +# Tue Nov 1 13:25:57 UTC 2016 pkgbase = torch7-warp-ctc pkgdesc = A fast parallel implementation of CTC, on both CPU and GPU. pkgver = r56.5bfb46e - pkgrel = 1 + pkgrel = 2 url = https://github.com/baidu-research/warp-ctc arch = x86_64 arch = i686 license = APACHE makedepends = cmake makedepends = git - makedepends = gcc5 + makedepends = torch7-cutorch-git depends = torch7-git>=r819 optdepends = torch7-cutorch-git: For GPU support source = torch7-warp-ctc::git+https://github.com/baidu-research/warp-ctc @@ -2,8 +2,8 @@ pkgdesc='A fast parallel implementation of CTC, on both CPU and GPU.' pkgname='torch7-warp-ctc' pkgver=r56.5bfb46e -pkgrel=1 -makedepends=('cmake' 'git' 'gcc5') +pkgrel=2 +makedepends=('cmake' 'git' 'torch7-cutorch-git') depends=('torch7-git>=r819') optdepends=('torch7-cutorch-git: For GPU support') arch=('x86_64' 'i686') @@ -24,6 +24,8 @@ pkgver () { build () { cd "${pkgname}" sed 's/luajit/luajit-5.1/g' -i CMakeLists.txt + # Uncomment this line if you are using a Pascal GPU + # sed -e 's/compute_[0-9]\{2\}/compute_61/g' -e 's/sm_[0-9]\{2\}/sm_61/g' -i CMakeLists.txt cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_BUILD_TYPE=Release make } |