File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -58,21 +58,27 @@ jobs:
58
58
59
59
- name : Build libc
60
60
shell : bash
61
- run : make -j4
61
+ run : |
62
+ cmake -DCMAKE_INSTALL_PREFIX=install-sysroot .
63
+ cmake --build . --target install
64
+ ctest
62
65
63
66
- uses : actions/upload-artifact@v1
64
67
with :
65
68
# Upload the sysroot folder. Give it a name according to the OS it was built for.
66
69
name : ${{ format( 'sysroot-{0}.tgz', matrix.os) }}
67
- path : sysroot
70
+ path : install- sysroot
68
71
69
72
- name : Build libc + threads
70
73
# Only build the thread-capable wasi-libc in the latest supported Clang
71
74
# version; the earliest version does not have all necessary builtins
72
75
# (e.g., `__builtin_wasm_memory_atomic_notify`).
73
76
if : matrix.clang_version != '10.0.0'
74
77
shell : bash
75
- run : make -j4 THREAD_MODEL=posix
78
+ run : |
79
+ cmake -DCMAKE_INSTALL_PREFIX=install-sysroot -DTHREAD_MODEL=posix .
80
+ cmake --build . --target install
81
+ ctest
76
82
77
83
# Disable the headerstest job for now, while WASI transitions from the
78
84
# witx snapshots to wit proposals, and we have a few manual edits to the
Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ def main(argv) -> None:
65
65
args , unparsed = parser .parse_known_args ()
66
66
67
67
args .nm = os .path .normpath (args .nm )
68
+ print ('path:' , args .libc_imports_output )
69
+ print ('normalized path:' , os .path .normpath (args .libc_imports_output ))
68
70
args .libc_imports_output = os .path .normpath (args .libc_imports_output )
69
71
args .defined_symbols_output = os .path .normpath (args .defined_symbols_output )
70
72
args .undefined_symbols_output = os .path .normpath (
You can’t perform that action at this time.
0 commit comments