mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-28 06:25:49 +00:00
add hotpatch for wasmedge (for now)
This commit is contained in:
@@ -133,12 +133,12 @@ target_compile_options (xrpl_core
|
||||
$<$<BOOL:${is_gcc}>:-Wno-maybe-uninitialized>)
|
||||
target_link_libraries (xrpl_core
|
||||
PUBLIC
|
||||
wasmedge
|
||||
OpenSSL::Crypto
|
||||
Ripple::boost
|
||||
Ripple::syslibs
|
||||
NIH::secp256k1
|
||||
NIH::ed25519-donna
|
||||
NIH::WasmEdge
|
||||
date::date
|
||||
Ripple::opts)
|
||||
#[=================================[
|
||||
|
||||
@@ -34,6 +34,10 @@ ExternalProject_Add (wasmedge_src
|
||||
>
|
||||
LOG_BUILD ON
|
||||
LOG_CONFIGURE ON
|
||||
COMMAND
|
||||
pwd
|
||||
COMMAND
|
||||
sed -iE 's/uint64_t Index;/uint64_t Index = 0;/g' ../lib/aot/compiler.cpp
|
||||
BUILD_COMMAND
|
||||
${CMAKE_COMMAND}
|
||||
--build .
|
||||
@@ -66,4 +70,4 @@ target_link_libraries (ripple_libs INTERFACE wasmedge)
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
set(CMAKE_DEBUG_POSTFIX ${OLD_DEBUG_POSTFIX})
|
||||
endif ()
|
||||
add_library (NIH::wasmedge ALIAS wasmedge)
|
||||
add_library (NIH::WasmEdge ALIAS wasmedge)
|
||||
|
||||
Reference in New Issue
Block a user