aboutsummaryrefslogtreecommitdiff
path: root/lanes-4.0.0-0.rockspec
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-04-09 15:49:18 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-04-09 15:49:18 +0200
commit95932749a53f46ae5901798a17e1f0c4c33ac6b2 (patch)
tree327d85f6f634edfacc01dc587492d96f9200344d /lanes-4.0.0-0.rockspec
parent98ff4191c2cd215c7d6a429e9ddd66f7a6a30316 (diff)
downloadlanes-95932749a53f46ae5901798a17e1f0c4c33ac6b2.tar.gz
lanes-95932749a53f46ae5901798a17e1f0c4c33ac6b2.tar.bz2
lanes-95932749a53f46ae5901798a17e1f0c4c33ac6b2.zip
C++ migration: use strong type safety for source and destination states in transfer functions
Diffstat (limited to 'lanes-4.0.0-0.rockspec')
-rw-r--r--lanes-4.0.0-0.rockspec78
1 files changed, 78 insertions, 0 deletions
diff --git a/lanes-4.0.0-0.rockspec b/lanes-4.0.0-0.rockspec
new file mode 100644
index 0000000..4e1b370
--- /dev/null
+++ b/lanes-4.0.0-0.rockspec
@@ -0,0 +1,78 @@
1--
2-- Lanes rockspec
3--
4-- Ref:
5-- <http://luarocks.org/en/Rockspec_format>
6--
7
8package = "Lanes"
9
10version = "4.0.0-0"
11
12source= {
13 url= "git+https://github.com/LuaLanes/lanes.git",
14 branch= "v4.0.0"
15}
16
17description = {
18 summary= "Multithreading support for Lua",
19 detailed= [[
20 Lua Lanes is a portable, message passing multithreading library
21 providing the possibility to run multiple Lua states in parallel.
22 ]],
23 license= "MIT/X11",
24 homepage="https://github.com/LuaLanes/lanes",
25 maintainer="Benoit Germain <bnt.germain@gmail.com>"
26}
27
28-- Q: What is the difference of "windows" and "win32"? Seems there is none;
29-- so should we list either one or both?
30--
31supported_platforms= { "win32",
32 "macosx",
33 "linux",
34 "freebsd", -- TBD: not tested
35 "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?)
36}
37
38dependencies= {
39 "lua >= 5.1", -- builds with either 5.1/LuaJIT, 5.2, 5.3 and 5.4
40}
41
42build = {
43 type = "builtin",
44 platforms =
45 {
46 linux =
47 {
48 modules =
49 {
50 ["lanes.core"] =
51 {
52 libraries = "pthread"
53 },
54 }
55 }
56 },
57 modules =
58 {
59 ["lanes.core"] =
60 {
61 sources =
62 {
63 "src/cancel.cpp",
64 "src/compat.cpp",
65 "src/deep.cpp",
66 "src/keeper.cpp",
67 "src/lanes.cpp",
68 "src/linda.cpp",
69 "src/tools.cpp",
70 "src/state.cpp",
71 "src/threading.cpp",
72 "src/universe.cpp"
73 },
74 incdirs = { "src"},
75 },
76 lanes = "src/lanes.lua"
77 }
78}