[wasmedge] Update to 0.12.1 (#31414)

* [wasmedge] Add new port

* .

* Update ports/wasmedge/vcpkg.json

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Update wasmedge.json

* revert version

* update version

* new function

* version

---------

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
Co-authored-by: FrankXie <v-frankxie@microsoft.com>
This commit is contained in:
Leonid Pospelov 2023-05-16 02:17:31 +06:00 committed by GitHub
parent c081319f6d
commit c18e2eb831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 28 deletions

View File

@ -1,11 +1,9 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO WasmEdge/WasmEdge
REF 0.12.0-alpha.1
SHA512 4218ecb6fba34b4ae94fc8c63b7da03c37f9dd2e404a9a6008be972a799b981929ada0ef213d8fababa25d10e27b777df66d22e1e61c92ff8e60b5e1caf97562
REF "${VERSION}"
SHA512 040eabea8ad7885b95fb3bdb97687e63412c027d853da0b37cc15b8b7e51c02f10286281c57d03a71d6d5a7bf7d4a5e627e31d6fd5ba560b80da675d1f1edbad
HEAD_REF master
PATCHES
quotes.patch
)
set(WASMEDGE_CMAKE_OPTIONS "")
@ -64,6 +62,6 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -1,19 +0,0 @@
diff --git a/cmake/Helper.cmake b/cmake/Helper.cmake
index 47dc2be..a9c84ff 100644
--- a/cmake/Helper.cmake
+++ b/cmake/Helper.cmake
@@ -140,10 +140,10 @@ if((WASMEDGE_LINK_LLVM_STATIC OR WASMEDGE_BUILD_STATIC_LIB) AND WASMEDGE_BUILD_A
core lto native nativecodegen option passes support transformutils all-targets
OUTPUT_VARIABLE WASMEDGE_LLVM_LINK_LIBS_NAME
)
- string(REPLACE "-l" "" WASMEDGE_LLVM_LINK_LIBS_NAME ${WASMEDGE_LLVM_LINK_LIBS_NAME})
- string(REGEX REPLACE "[\r\n]" "" WASMEDGE_LLVM_LINK_LIBS_NAME ${WASMEDGE_LLVM_LINK_LIBS_NAME})
- string(REPLACE " " "\;" WASMEDGE_LLVM_LINK_LIBS_NAME ${WASMEDGE_LLVM_LINK_LIBS_NAME})
- set(WASMEDGE_LLVM_LINK_LIBS_NAME ${WASMEDGE_LLVM_LINK_LIBS_NAME})
+ string(REPLACE "-l" "" WASMEDGE_LLVM_LINK_LIBS_NAME "${WASMEDGE_LLVM_LINK_LIBS_NAME}")
+ string(REGEX REPLACE "[\r\n]" "" WASMEDGE_LLVM_LINK_LIBS_NAME "${WASMEDGE_LLVM_LINK_LIBS_NAME}")
+ string(REPLACE " " "\;" WASMEDGE_LLVM_LINK_LIBS_NAME "${WASMEDGE_LLVM_LINK_LIBS_NAME}")
+ set(WASMEDGE_LLVM_LINK_LIBS_NAME "${WASMEDGE_LLVM_LINK_LIBS_NAME}")
list(APPEND WASMEDGE_LLVM_LINK_STATIC_COMPONENTS

View File

@ -1,7 +1,6 @@
{
"name": "wasmedge",
"version-semver": "0.12.0-alpha.1",
"port-version": 1,
"version": "0.12.1",
"description": "WasmEdge is a high-performance WebAssembly runtime for edge computing.",
"homepage": "https://WasmEdge.org",
"license": "Apache-2.0",

View File

@ -8473,8 +8473,8 @@
"port-version": 1
},
"wasmedge": {
"baseline": "0.12.0-alpha.1",
"port-version": 1
"baseline": "0.12.1",
"port-version": 0
},
"wavelib": {
"baseline": "2021-11-26",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "053400dd62ab5a02842f107aaad7dff7fdeb0a40",
"version": "0.12.1",
"port-version": 0
},
{
"git-tree": "a13dbbe58cedd77daae5f42016df4f74101c34b0",
"version-semver": "0.12.0-alpha.1",