wasm-micro-runtime/tests/standalone/iwasm-wamrc/run.sh
2024-06-19 16:40:37 +08:00

19 lines
450 B
Bash
Executable File

#!/bin/bash
#
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
if [[ $2 == "--sgx" ]];then
readonly IWASM_CMD="../../../product-mini/platforms/linux-sgx/enclave-sample/iwasm"
else
readonly IWASM_CMD="../../../product-mini/platforms/linux/build/iwasm"
fi
readonly WAMRC_CMD="../../../wamr-compiler/build/wamrc"
${IWASM_CMD} --help
echo ""
${WAMRC_CMD} --help
echo ""