forked from LuaLanes/lanes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlanes-3.9.6-1.rockspec
66 lines (59 loc) · 1.24 KB
/
lanes-3.9.6-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
--
-- Lanes rockspec
--
-- Ref:
-- <http://luarocks.org/en/Rockspec_format>
--
package = "Lanes"
version = "3.9.6-1"
source= {
url= "git://github.com/LuaLanes/lanes.git",
branch= "v3.9.6"
}
description = {
summary= "Multithreading support for Lua",
detailed= [[
Lua Lanes is a portable, message passing multithreading library
providing the possibility to run multiple Lua states in parallel.
]],
license= "MIT/X11",
homepage="https://github.com/LuaLanes/lanes",
maintainer="Benoit Germain <bnt.germain@gmail.com>"
}
-- Q: What is the difference of "windows" and "win32"? Seems there is none;
-- so should we list either one or both?
--
supported_platforms= { "win32",
"macosx",
"linux",
"freebsd", -- TBD: not tested
"msys", -- TBD: not supported by LuaRocks 1.0 (or is it?)
}
dependencies= {
"lua >= 5.1", -- builds with either 5.1 and 5.2
}
build = {
type = "builtin",
platforms =
{
linux =
{
modules =
{
["lanes.core"] =
{
libraries = "pthread"
},
}
}
},
modules =
{
["lanes.core"] =
{
sources = { "src/compat.c", "src/deep.c", "src/lanes.c", "src/keeper.c", "src/tools.c", "src/threading.c"},
incdirs = { "src"},
},
lanes = "src/lanes.lua"
}
}