mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 23:42:05 +00:00
bf9fb2e680
This fixes the cosmopolitan platform. - Switch `build_cosmocc.sh` and platform documentation to explicitly use the x86_64 cosmocc compiler as multi-arch cosmocc won't work here. Older version `cosmocc` just did a x86_64 build. - Add missing items from `platform_internal.h` to fix build.
11 lines
303 B
Bash
Executable File
11 lines
303 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Copyright (C) 2023 Dylibso. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
export CC=x86_64-unknown-cosmo-cc
|
|
export CXX=x86_64-unknown-cosmo-c++
|
|
rm -rf build
|
|
mkdir build
|
|
cmake -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_FAST_INTERP=1 -B build
|
|
cmake --build build -j
|