wasm-micro-runtime/core/shared/platform/common/posix
Wenyong Huang cb51dbb513
Fix some issues on MacOS platform (#937)
Fix some issues on MacOS platform
- Enable libc-wasi by default
- Set target abi to "gnu" if it is not set for wamrc to avoid generating
  object file of unsupported Mach-O format
- Set `<vendor>-<sys>` info according to target abi for wamrc to support
  generating AOT file for other OSs but not current host
- Set cpu name if arch/abi/cpu are not set to avoid checking SIMD
  capability failed
- Set size level to 1 for MacOS/Windows platform to avoid relocation type
  unsupported warning
- Clear posix_memmap.c compiling warning
- Fix spec case test script issues, enable test spec cases on MacOS

Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
2022-01-07 09:53:48 +08:00
..
platform_api_posix.cmake re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00
posix_malloc.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
posix_memmap.c Fix some issues on MacOS platform (#937) 2022-01-07 09:53:48 +08:00
posix_socket.c Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
posix_thread.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
posix_time.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00