-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcompat.lz4.lua
More file actions
50 lines (48 loc) · 1.78 KB
/
Copy pathcompat.lz4.lua
File metadata and controls
50 lines (48 loc) · 1.78 KB
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
package = {
spec = "1",
namespace = "compat",
name = "lz4",
description = "LZ4 extremely fast compression",
licenses = {"BSD-2-Clause"},
repo = "https://github.com/lz4/lz4",
type = "package",
xpm = {
linux = {
["1.10.0"] = {
url = {
GLOBAL = "https://github.com/lz4/lz4/archive/refs/tags/v1.10.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/lz4/releases/download/1.10.0/lz4-1.10.0.tar.gz",
},
sha256 = "537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b",
},
},
macosx = {
["1.10.0"] = {
url = {
GLOBAL = "https://github.com/lz4/lz4/archive/refs/tags/v1.10.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/lz4/releases/download/1.10.0/lz4-1.10.0.tar.gz",
},
sha256 = "537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b",
},
},
windows = {
["1.10.0"] = {
url = {
GLOBAL = "https://github.com/lz4/lz4/archive/refs/tags/v1.10.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/lz4/releases/download/1.10.0/lz4-1.10.0.tar.gz",
},
sha256 = "537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b",
},
},
},
mcpp = {
language = "c++23",
import_std = false,
c_standard = "c11",
include_dirs = {"*/lib"},
cflags = { "-D_GNU_SOURCE" },
sources = {"*/lib/*.c"},
targets = { ["lz4"] = { kind = "lib" } },
deps = {},
},
}