mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
16 lines
341 B
Bash
Executable File
16 lines
341 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
#
|
|
|
|
set -e
|
|
|
|
PLATFORM=$(uname -s | tr A-Z a-z)
|
|
|
|
readonly WAMR_DIR="$PWD/../../.."
|
|
rm -fr build && mkdir build && cd build
|
|
cmake ${WAMR_DIR}/product-mini/platforms/${PLATFORM} $1
|
|
make -j > /dev/null 2>&1
|
|
cd ..
|