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

github.com/torch/cunn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2016-07-29 08:04:49 +0300
committerSoumith Chintala <soumith@gmail.com>2016-07-29 08:04:49 +0300
commite856c8645ee6f235eaff67fb57946f790f29f6d7 (patch)
tree1878acd468dba20f35d30898710410d8b952635a
parent387ff4fc5aea0e5f5ff6e7bbb5aa2136991033bc (diff)
Cutting version 1.0-01.0-0
-rw-r--r--rocks/cunn-1.0-0.rockspec36
1 files changed, 36 insertions, 0 deletions
diff --git a/rocks/cunn-1.0-0.rockspec b/rocks/cunn-1.0-0.rockspec
new file mode 100644
index 0000000..39f453e
--- /dev/null
+++ b/rocks/cunn-1.0-0.rockspec
@@ -0,0 +1,36 @@
+package = "cunn"
+version = "1.0-0"
+
+source = {
+ url = "git://github.com/torch/cunn.git",
+ tag = "1.0-0"
+}
+
+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-0"
+}
+
+build = {
+ type = "command",
+ build_command = [[
+cmake -E make_directory build && cd build && cmake .. -DLUALIB=$(LUALIB) -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE) -j$(getconf _NPROCESSORS_ONLN) install
+]],
+ platforms = {
+ windows = {
+ build_command = [[
+cmake -E make_directory build && cd build && cmake .. -DLUALIB=$(LUALIB) -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE) install
+]]
+ }
+ },
+ install_command = "cd build"
+}