Skip to content

Commit

Permalink
Cutting version 1.0-0
Browse files Browse the repository at this point in the history
  • Loading branch information
soumith committed Jul 29, 2016
1 parent 387ff4f commit e856c86
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions rocks/cunn-1.0-0.rockspec
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit e856c86

Please sign in to comment.