Skip to content

Commit

Permalink
Remove rodeos
Browse files Browse the repository at this point in the history
  • Loading branch information
tbfleming committed Feb 1, 2022
1 parent 52aa2d4 commit b099450
Show file tree
Hide file tree
Showing 62 changed files with 1 addition and 12,741 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
[submodule "external/Catch2"]
path = external/Catch2
url = https://github.com/catchorg/Catch2.git
[submodule "external/rocksdb"]
path = external/rocksdb
url = https://github.com/facebook/rocksdb.git
[submodule "external/atomicassets-contract"]
path = external/atomicassets-contract
url = https://github.com/pinknetworkx/atomicassets-contract.git
29 changes: 0 additions & 29 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,35 +122,6 @@ if(IS_NATIVE)
-lgmp
)
add_dependencies(eos-fc eos)

ExternalProject_Add(rocksdb-ext
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/rocksdb
BINARY_DIR rocksdb-ext
TEST_EXCLUDE_FROM_MAIN 1
EXCLUDE_FROM_ALL 1
BUILD_COMMAND sed -i s/@@//g ${CMAKE_CURRENT_SOURCE_DIR}/rocksdb/util/build_version.cc.in
COMMAND sed -i "s/__DATE__/\"\"/g" ${CMAKE_CURRENT_SOURCE_DIR}/rocksdb/util/build_version.cc.in
COMMAND cmake --build . -j ${NUM_PROCS}
CMAKE_ARGS
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_TARGET_MESSAGES=${CMAKE_TARGET_MESSAGES}
-DCMAKE_INSTALL_PREFIX=${ROOT_BINARY_DIR}/rocksdb
-DPORTABLE=ON # don't use sse4.2
-DWITH_GFLAGS=OFF
-DWITH_TESTS=OFF
-DWITH_TOOLS=OFF
-DWITH_BENCHMARK_TOOLS=OFF
-DFAIL_ON_WARNINGS=OFF
-DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=OFF
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER}
-DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER}
BUILD_BYPRODUCTS ${CMAKE_BINARY_DIR}/rocksdb/lib/librocksdb.a
)
add_library(rocksdb INTERFACE)
target_include_directories(rocksdb INTERFACE ${CMAKE_BINARY_DIR}/rocksdb/include)
target_link_libraries(rocksdb INTERFACE ${CMAKE_BINARY_DIR}/rocksdb/lib/librocksdb.a)
add_dependencies(rocksdb rocksdb-ext)
endif()

ExternalProject_Add(fmt-ext
Expand Down
1 change: 0 additions & 1 deletion external/rocksdb
Submodule rocksdb deleted from 551a11
2 changes: 0 additions & 2 deletions libraries/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ if(DEFINED IS_WASM)
endif()

if(DEFINED IS_NATIVE)
add_subdirectory(chain_kv)
add_subdirectory(debug_eos_vm)
endif()

add_subdirectory(clchain)
add_subdirectory(rodeos)
6 changes: 0 additions & 6 deletions libraries/chain_kv/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit b099450

Please sign in to comment.