diff options
author | Ronan Collobert <ronan@collobert.com> | 2014-02-14 15:51:52 +0400 |
---|---|---|
committer | Ronan Collobert <ronan@collobert.com> | 2014-02-14 15:51:52 +0400 |
commit | 8a1fcb71787d0cdc0fbc87b1a545a1a469f0037d (patch) | |
tree | 11efffd534d777e3519a1f7602453d84a5786da9 /rocks | |
parent | 90a5e11cb0e386355d3b877c2431c350be5cbc99 (diff) |
added rockspec
Diffstat (limited to 'rocks')
-rw-r--r-- | rocks/cutorch-scm-1.rockspec | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/rocks/cutorch-scm-1.rockspec b/rocks/cutorch-scm-1.rockspec new file mode 100644 index 0000000..ef8607b --- /dev/null +++ b/rocks/cutorch-scm-1.rockspec @@ -0,0 +1,26 @@ +package = "cutorch" +version = "scm-1" + +source = { + url = "git://github.com/torch/cutorch.git", +} + +description = { + summary = "Torch CUDA Implementation", + detailed = [[ + ]], + homepage = "https://github.com/torch/cutorch", + license = "BSD" +} + +dependencies = { + "torch >= 7.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" +} |