Welcome to mirror list, hosted at ThFree Co, Russian Federation.

nnx-0.1-1.rockspec - github.com/clementfarabet/lua---nnx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 22c56570ff6aa0de175923288f633ef21ee23ff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package = "nnx"
version = "0.1-1"

source = {
   url = "git://github.com/clementfarabet/lua---nnx",
   tag = "master"
}

description = {
   summary = "A completely unstable and experimental package that extends Torch's builtin nn library",
   detailed = [[
This is an experimental package that extends nn. You've be warned!
   ]],
   homepage = "https://github.com/clementfarabet/lua---nnx",
   license = "BSD"
}

dependencies = {
   "torch >= 7.0",
   "xlua >= 1.0"
}

build = {
   type = "command",
   build_command = [[
cmake -E make_directory build && cd build && cmake .. -DLUALIB=$(LUALIB)  -DLUA_INCDIR="$(LUA_INCDIR)" -DLUA_LIBDIR="$(LUA_LIBDIR)" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUAROCKS_PREFIX)" -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE)
   ]],
   install_command = "cd build && $(MAKE) install"
}