diff options
author | Ronan Collobert <ronan@collobert.com> | 2014-02-14 17:25:50 +0400 |
---|---|---|
committer | Ronan Collobert <ronan@collobert.com> | 2014-02-14 17:25:50 +0400 |
commit | 963e4aadf1e78cf27173601bd2060b445ea99f6c (patch) | |
tree | 16f763eacfa866eea24c086c7e9fc9dc829be35e /rocks | |
parent | 311f0090a2b8a616b046f007b864096ce6fba510 (diff) |
added rockspec
Diffstat (limited to 'rocks')
-rw-r--r-- | rocks/cunn-scm-1.rockspec | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/rocks/cunn-scm-1.rockspec b/rocks/cunn-scm-1.rockspec new file mode 100644 index 0000000..c742438 --- /dev/null +++ b/rocks/cunn-scm-1.rockspec @@ -0,0 +1,28 @@ +package = "cunn" +version = "scm-1" + +source = { + url = "git://github.com/torch/cunn.git", +} + +description = { + summary = "Torch CUDA Neural Network Implementation", + detailed = [[ + ]], + homepage = "https://github.com/torch/cunn", + license = "BSD" +} + +dependencies = { + "torch >= 7.0", + "nn >= 1.0", + "cutorch >= 1.0" +} + +build = { + type = "command", + build_command = [[ +cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE) +]], + install_command = "cd build && $(MAKE) install" +} |