-
Notifications
You must be signed in to change notification settings - Fork 1
/
workshop.json
127 lines (127 loc) · 4.03 KB
/
workshop.json
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"workshop": {
"schema": {
"version": "2024.08.07"
}
},
"userenvs": [
{
"name": "default",
"requirements": [
"packages",
"gettext_src",
"flex_src",
"libtraceevent_src",
"libtracefs_src",
"linux_src"
]
}
],
"requirements": [
{
"name": "packages",
"type": "distro",
"distro_info": {
"packages": [
"python3-docutils"
]
}
},
{
"name": "bison_src",
"type": "source",
"source_info": {
"url": "https://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.xz",
"filename": "bison.tar.xz",
"commands": {
"unpack": "tar -xf bison.tar.xz",
"get_dir": "tar -tf bison.tar.xz | head -n 1",
"commands": [
"./configure gl_cv_func_getcwd_path_max='yes, but with shorter paths'",
"make install",
"rm -rf *"
]
}
}
},
{
"name": "gettext_src",
"type": "source",
"source_info": {
"url": "https://ftp.gnu.org/pub/gnu/gettext/gettext-0.22.4.tar.xz",
"filename": "gettext.tar.xz",
"commands": {
"unpack": "tar -xf gettext.tar.xz",
"get_dir": "tar -tf gettext.tar.xz | head -n 1",
"commands": [
"./configure gl_cv_func_getcwd_path_max='yes, but with shorter paths'",
"make install",
"rm -rf *"
]
}
}
},
{
"name": "flex_src",
"type": "source",
"source_info": {
"url": "https://github.com/westes/flex/files/981163/flex-2.6.4.tar.gz",
"filename": "flex.tar.gz",
"commands": {
"unpack": "tar -xf flex.tar.gz",
"get_dir": "tar -tf flex.tar.gz | head -n 1",
"commands": [
"./autogen.sh",
"./configure CFLAGS=' -D_GNU_SOURCE'",
"make install",
"rm -rf *"
]
}
}
},
{
"name": "libtraceevent_src",
"type": "manual",
"manual_info": {
"commands": [
"git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git /usr/local/src/libtraceevent",
"cd /usr/local/src/libtraceevent; git checkout libtraceevent-1.8.4",
"cd /usr/local/src/libtraceevent; make",
"cd /usr/local/src/libtraceevent; make install",
"cd /usr/local/src; rm libtraceevent -rf"
]
}
},
{
"name": "libtracefs_src",
"type": "manual",
"manual_info": {
"commands": [
"git clone git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git /usr/local/src/libtracefs",
"cd /usr/local/src/libtracefs; git checkout libtracefs-1.8.1",
"cd /usr/local/src/libtracefs; make",
"cd /usr/local/src/libtracefs; make install",
"cd /usr/local/src; rm libtracefs -rf"
]
}
},
{
"name": "linux_src",
"type": "source",
"source_info": {
"url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot/linux-6.11.tar.gz",
"filename": "linux.tar.gz",
"commands": {
"unpack": "tar -xzf linux.tar.gz",
"get_dir": "tar -tzf linux.tar.gz | head -n 1",
"commands": [
"cd tools/tracing/rtla; make",
"cd tools/tracing/rtla; make install",
"cd tools/tracing/rtla; make clean",
"rm * -rf"
]
}
}
}
]
}