Commit Graph

6 Commits

Author SHA1 Message Date
Matt McCormick
e0dcb396b6 web-wasi: Bump to WASI-SDK 17
The binary linux SDK in version 17 requires a newer glibc than we have
available, so we have to use our own patched clang. This follows the
approach in:

  https://github.com/WebAssembly/wasi-sdk/pull/271
2022-12-28 11:02:13 -05:00
Matt McCormick
ce9c068c84 web-wasi: Update emulator path
This was changed in the web-wasm/web-wasi common tooling additions and
refactoring.
2022-01-27 17:39:46 -05:00
Matt McCormick
ed2c1eb321 web-wasi: Use wasmtime instead of wasmer for the cross-compiling emulator
wasmtime is the official reference implementation and wasmer has
permission issues without sudo.
2021-11-03 19:28:11 -04:00
Matt McCormick
ef0ff63ed9 web-wasi: Initialize WASI_SDK_PATH for wasi-sdk.cmake, set UNIX 2021-10-13 23:47:29 -04:00
Matt McCormick
93b23ec997 web-wasi: Patch CMake with WASI platform
WASI.cmake taken from the wasi-sdk repository.

To address the build time warning:

  System is unknown to cmake, create:
  Platform/WASI to use this system, please post your config file on
  discourse.cmake.org so it can be added to cmake
2021-10-13 15:41:28 -04:00
Matt McCormick
b1bfb861d8 web-wasi: Initial addition 2021-10-10 16:36:29 -04:00