File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,10 @@ commands:
68
68
$PYTHON_BIN ./embuilder.py build ALL
69
69
$PYTHON_BIN tests/runner.py test_hello_world
70
70
- run :
71
+
71
72
name : embuilder (LTO)
72
73
command : |
73
- $PYTHON_BIN ./embuilder.py build libcompiler_rt libc libc++abi libc++abi-noexcept libc++ libc++-noexcept libal libdlmalloc libdlmalloc-debug libemmalloc libemmalloc-64bit libpthread_stub libc_rt_wasm struct_info libc-wasm --lto
74
+ $PYTHON_BIN ./embuilder.py build MINIMAL --lto
74
75
$PYTHON_BIN tests/runner.py test_hello_world
75
76
- run :
76
77
name : embuilder (PIC)
@@ -80,7 +81,7 @@ commands:
80
81
- run :
81
82
name : embuilder (PIC+LTO)
82
83
command : |
83
- $PYTHON_BIN ./embuilder.py build libcompiler_rt libc libc++abi libc++abi-noexcept libc++ libc++-noexcept libal libdlmalloc libdlmalloc-debug libemmalloc libemmalloc-64bit libpthread_stub libc_rt_wasm struct_info libc-wasm --pic --lto
84
+ $PYTHON_BIN ./embuilder.py build MINIMAL --pic --lto
84
85
$PYTHON_BIN tests/runner.py test_hello_world
85
86
- run :
86
87
name : freeze cache
Original file line number Diff line number Diff line change 27
27
# It is not a system library, but it needs to be built before running with FROZEN_CACHE.
28
28
SYSTEM_TASKS += ['struct_info' ]
29
29
30
+ # Minimal subset of SYSTEM_TASKS used by CI systems to build enough to useful
31
+ MINIMAL_TASKS = [
32
+ 'libcompiler_rt' ,
33
+ 'libc' ,
34
+ 'libc++abi' ,
35
+ 'libc++abi-noexcept' ,
36
+ 'libc++' ,
37
+ 'libc++-noexcept' ,
38
+ 'libal' ,
39
+ 'libdlmalloc' ,
40
+ 'libdlmalloc-debug' ,
41
+ 'libemmalloc' ,
42
+ 'libemmalloc-64bit' ,
43
+ 'libpthread_stub' ,
44
+ 'libc_rt_wasm' ,
45
+ 'struct_info' ,
46
+ 'libc-wasm'
47
+ ]
48
+
30
49
USER_TASKS = [
31
50
'binaryen' ,
32
51
'boost_headers' ,
@@ -162,6 +181,9 @@ def main():
162
181
elif 'USER' in tasks :
163
182
tasks = USER_TASKS
164
183
auto_tasks = True
184
+ elif 'MINIMAL' in tasks :
185
+ tasks = MINIMAL_TASKS
186
+ auto_tasks = True
165
187
elif 'ALL' in tasks :
166
188
tasks = SYSTEM_TASKS + USER_TASKS
167
189
auto_tasks = True
You can’t perform that action at this time.
0 commit comments