-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Benoit Germain
committed
Nov 21, 2016
1 parent
8d2e855
commit 0a064da
Showing
4 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
-- | ||
-- Lanes rockspec | ||
-- | ||
-- Ref: | ||
-- <http://luarocks.org/en/Rockspec_format> | ||
-- | ||
|
||
package = "Lanes" | ||
|
||
version = "3.10.1-1" | ||
|
||
source= { | ||
url= "git://github.com/LuaLanes/lanes.git", | ||
branch= "v3.10.1" | ||
} | ||
|
||
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 <[email protected]>" | ||
} | ||
|
||
-- 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, 5.2 and 5.3 | ||
} | ||
|
||
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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters