mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Hooks-chaining alpha
This is a squash of 241 commits from https://github.com/XRPL-Labs/xrpld-hooks/tree/hooks-chaining Ready for forward porting to rippled 1.8.3
This commit is contained in:
@@ -429,12 +429,14 @@ target_sources (rippled PRIVATE
|
||||
src/ripple/app/tx/impl/Payment.cpp
|
||||
src/ripple/app/tx/impl/SetAccount.cpp
|
||||
src/ripple/app/tx/impl/SetRegularKey.cpp
|
||||
src/ripple/app/tx/impl/SetHook.cpp
|
||||
src/ripple/app/tx/impl/SetSignerList.cpp
|
||||
src/ripple/app/tx/impl/SetTrust.cpp
|
||||
src/ripple/app/tx/impl/SignerEntries.cpp
|
||||
src/ripple/app/tx/impl/Taker.cpp
|
||||
src/ripple/app/tx/impl/Transactor.cpp
|
||||
src/ripple/app/tx/impl/apply.cpp
|
||||
src/ripple/app/tx/impl/applyHook.cpp
|
||||
src/ripple/app/tx/impl/applySteps.cpp
|
||||
#[===============================[
|
||||
main sources:
|
||||
@@ -981,6 +983,8 @@ target_link_libraries (rippled
|
||||
Ripple::opts
|
||||
Ripple::libs
|
||||
Ripple::xrpl_core
|
||||
libssvm
|
||||
# /usr/lib/libwasmer.a
|
||||
)
|
||||
exclude_if_included (rippled)
|
||||
# define a macro for tests that might need to
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
declare user options/settings
|
||||
#]===================================================================]
|
||||
|
||||
option (assert "Enables asserts, even in release builds" OFF)
|
||||
option (assert "Enables asserts, even in release builds" ON)
|
||||
|
||||
option (reporting "Build rippled with reporting mode enabled" OFF)
|
||||
|
||||
@@ -15,7 +15,7 @@ if (unity)
|
||||
set (unity OFF CACHE BOOL "unity only available for cmake 3.16+" FORCE)
|
||||
else ()
|
||||
if (NOT is_ci)
|
||||
set (CMAKE_UNITY_BUILD_BATCH_SIZE 15 CACHE STRING "")
|
||||
set (CMAKE_UNITY_BUILD_BATCH_SIZE 5 CACHE STRING "")
|
||||
endif ()
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
17
Builds/CMake/deps/libssvm.cmake
Normal file
17
Builds/CMake/deps/libssvm.cmake
Normal file
@@ -0,0 +1,17 @@
|
||||
find_package (libssvm_src QUIET)
|
||||
if (NOT TARGET libssvm_src)
|
||||
FetchContent_Declare(
|
||||
libssvm_src
|
||||
GIT_REPOSITORY git@github.com:RichardAH/libssvm.git
|
||||
GIT_TAG 382bd11497439d334b37c585f38cc003d7aef080
|
||||
)
|
||||
FetchContent_MakeAvailable(libssvm_src)
|
||||
# FetchContent_GetProperties(libssvm_src)
|
||||
#if(NOT libssvm_src_POPULATED)
|
||||
# FetchContent_Populate(libssvm_src)
|
||||
# add_subdirectory(${libssvm_src_SOURCE_DIR} ${libssvm_src_BINARY_DIR})
|
||||
#endif()
|
||||
#Message("libssvm: srcdir:")
|
||||
#Message(${libssvm_src_SOURCE_DIR})
|
||||
target_include_directories (libssvm SYSTEM INTERFACE ${libssvm_src_SOURCE_DIR}/include)
|
||||
endif()
|
||||
Reference in New Issue
Block a user