summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrián Pérez de Castro2015-11-30 16:34:41 +0200
committerAdrián Pérez de Castro2015-11-30 16:34:41 +0200
commit8d44394d6a8c9e1da4f3eee194ad268ae7f34f00 (patch)
tree4039803763c13a6d20e3ae6f2ac0397e44182c89
parentf09b2da605993364571540c5d29d76174bed11e1 (diff)
downloadaur-8d44394d6a8c9e1da4f3eee194ad268ae7f34f00.tar.gz
Set CMAKE_INSTALL_PREFIX to ensure a known location
This sets CMAKE_INSTALL_PREFIX, so the installation path where CMake will put files is well-known, so the commands which relocate the .lua and .so files in their proper locations can pick the files from there.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b3f68c0e3dc0..a7de19faff9e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Nov 19 14:39:17 UTC 2015
+# Mon Nov 30 14:34:35 UTC 2015
pkgbase = torch7-nn-git
pkgdesc = Neural networks package for Torch7
- pkgver = r920.01bdc38
+ pkgver = r948.9d7e5b9
pkgrel = 1
url = https://github.com/torch/nn
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 45dec88884eb..5584d12d275e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adrián Pérez de Castro <aperez@igalia.com>
pkgdesc='Neural networks package for Torch7'
pkgname='torch7-nn-git'
-pkgver=r920.01bdc38
+pkgver=r948.9d7e5b9
pkgrel=1
makedepends='cmake'
depends='torch7-git>=r819'
@@ -24,7 +24,7 @@ pkgver () {
build () {
cd "${pkgname}"
- cmake . -DCMAKE_BUILD_TYPE=Release
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make
}