mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-07 12:16:24 +00:00

Raise wasi-sdk to 25 and wabt to 1.0.37. It includes - Refactor CI workflow to install WASI-SDK and WABT from a composite action - Use ExternalProject to bring wasm-apps for few samples. file/ wasi-threads/ - Refactor sample build and test steps in SGX compilation workflow for improved clarity and efficiency (workaround) Add CMake support for EMSCRIPTEN and WAMRC, update module paths
28 lines
599 B
CMake
28 lines
599 B
CMake
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_path(WAMRC_HOME
|
|
wamr-compiler
|
|
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/../../..
|
|
NO_DEFAULT_PATH
|
|
NO_CMAKE_PATH
|
|
NO_CMAKE_SYSTEM_PATH
|
|
NO_CMAKE_FIND_ROOT_PATH
|
|
REQUIRED
|
|
)
|
|
|
|
find_file(WAMRC_BIN
|
|
wamrc
|
|
HINTS ${WAMRC_HOME}/wamr-compiler/build
|
|
NO_DEFAULT_PATH
|
|
NO_CMAKE_PATH
|
|
NO_CMAKE_SYSTEM_PATH
|
|
NO_CMAKE_FIND_ROOT_PATH
|
|
REQUIRED
|
|
)
|
|
|
|
find_package_handle_standard_args(WAMRC REQUIRED_VARS WAMRC_BIN)
|
|
mark_as_advanced(WAMRC_BIN)
|