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

github.com/torch/distro.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Guo <guorui.xt@gmail.com>2016-11-12 10:09:31 +0300
committerRui Guo <guorui.xt@gmail.com>2016-11-12 10:09:31 +0300
commit7dc2d51ee2594e222402d9b16d575dbb5d457450 (patch)
tree8c426c7b2809aac77dbe95d57c571c87b7b436d0 /win-files
parent7c614233483dd2e7c55f0a68d9d57661fa7dfa66 (diff)
parent89d92a5925eac6df9dc9489d40c44451da187e5f (diff)
Merge branch 'master' of https://github.com/torch/distro
Diffstat (limited to 'win-files')
-rw-r--r--win-files/cmake.cmd1
-rw-r--r--win-files/graph-scm-1.rockspec27
-rw-r--r--win-files/luaffi-scm-1.rockspec35
-rw-r--r--win-files/sys-1.1-0.rockspec33
-rw-r--r--win-files/trepl-scm-1.rockspec55
5 files changed, 151 insertions, 0 deletions
diff --git a/win-files/cmake.cmd b/win-files/cmake.cmd
index 34ff622..93f847d 100644
--- a/win-files/cmake.cmd
+++ b/win-files/cmake.cmd
@@ -1,3 +1,4 @@
+setlocal
set "PATH=%PATH%;C:\Program Files\CMake\bin"
if %1 == -E (
diff --git a/win-files/graph-scm-1.rockspec b/win-files/graph-scm-1.rockspec
new file mode 100644
index 0000000..1260131
--- /dev/null
+++ b/win-files/graph-scm-1.rockspec
@@ -0,0 +1,27 @@
+package = "graph"
+version = "scm-1"
+
+source = {
+ url = "git://github.com/torch/graph",
+ tag = "master"
+}
+
+description = {
+ summary = "Graph package for Torch",
+ homepage = "https://github.com/torch/graph",
+ license = "UNKNOWN"
+}
+
+dependencies = {
+ "torch >= 7.0"
+}
+
+build = {
+ type = "builtin",
+ modules = {
+ ['graph.init'] = 'init.lua',
+ ['graph.graphviz'] = 'graphviz.lua',
+ ['graph.Node'] = 'Node.lua',
+ ['graph.Edge'] = 'Edge.lua'
+ }
+}
diff --git a/win-files/luaffi-scm-1.rockspec b/win-files/luaffi-scm-1.rockspec
new file mode 100644
index 0000000..c84cc71
--- /dev/null
+++ b/win-files/luaffi-scm-1.rockspec
@@ -0,0 +1,35 @@
+package = "luaffi"
+version = "scm-1"
+
+source = {
+ url = "git://github.com/facebook/luaffifb.git",
+}
+
+description = {
+ summary = "FFI library for calling C functions from lua",
+ detailed = [[
+ ]],
+ homepage = "https://github.com/facebook/luaffifb",
+ license = "BSD"
+}
+
+dependencies = {
+ "lua >= 5.1",
+}
+
+build = {
+ type = "builtin",
+ noexp = true,
+ modules = {
+ ['ffi'] = {
+ incdirs = {
+ "dynasm"
+ },
+ sources = {
+ "call.c", "ctype.c", "ffi.c", "parser.c",
+ }
+ },
+ ['ffi.libtest'] = 'test.c',
+ ['ffi.test'] = 'test.lua'
+ }
+}
diff --git a/win-files/sys-1.1-0.rockspec b/win-files/sys-1.1-0.rockspec
new file mode 100644
index 0000000..704f621
--- /dev/null
+++ b/win-files/sys-1.1-0.rockspec
@@ -0,0 +1,33 @@
+package = "sys"
+version = "1.1-0"
+
+source = {
+ url = "git://github.com/torch/sys"
+}
+
+description = {
+ summary = "A system library for Torch",
+ detailed = [[
+Provides system functionalities for Torch.
+ ]],
+ homepage = "https://github.com/torch/sys",
+ license = "BSD"
+}
+
+dependencies = {
+ "torch >= 7.0",
+}
+
+build = {
+ type = "builtin",
+ modules = {
+ ['sys.init'] = 'init.lua',
+ ['sys.fpath'] = 'fpath.lua',
+ ['sys.colors'] = 'colors.lua',
+ libsys = {
+ sources = {
+ "sys.c"
+ }
+ }
+ }
+}
diff --git a/win-files/trepl-scm-1.rockspec b/win-files/trepl-scm-1.rockspec
new file mode 100644
index 0000000..710f4cd
--- /dev/null
+++ b/win-files/trepl-scm-1.rockspec
@@ -0,0 +1,55 @@
+package = "trepl"
+version = "scm-1"
+
+source = {
+ url = "git://github.com/torch/trepl",
+ branch = "master",
+}
+
+description = {
+ summary = "An embedabble, Lua-only REPL for Torch.",
+ detailed = [[
+An embedabble, Lua-only REPL for Torch.
+ ]],
+ homepage = "https://github.com/torch/trepl",
+ license = "BSD"
+}
+
+dependencies = {
+ "torch >= 7.0",
+ "penlight >= 1.1.0",
+}
+
+build = {
+ type = "builtin",
+ modules = {
+ ['trepl.init'] = 'init.lua',
+ ['trepl.colors'] = 'colors.lua',
+ ['trepl.colorize'] = 'colorize.lua',
+ ['readline'] = {
+ sources = {'readline.c'},
+ libraries = {'readline'}
+ },
+ ['treplutils'] = {
+ sources = {'utils.c'},
+ }
+ },
+ platforms = {
+ windows = {
+ modules = {
+ ['readline'] = {
+ sources = {'readline.c'},
+ defines = {"EDITLINE"},
+ incdirs = {"../../install/include"},
+ libdirs = {"../../install/lib"},
+ libraries = {'libedit_static', 'User32'}
+ }
+ }
+ }
+ },
+ install = {
+ bin = {
+ 'th'
+ }
+ }
+}