Skip to content

Commit 23b4ce8

Browse files
reorganize directory
1 parent 22b6135 commit 23b4ce8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+20
-21
lines changed

.gitmodules

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
path = libraries/ethereum
1010
url = https://github.com/learnforpractice/cpp-ethereum
1111
branch = develop-eos
12-
[submodule "libraries/vm_py"]
13-
path = libraries/vm_py
14-
url = https://github.com/learnforpractice/micropython
15-
branch = master
1612
[submodule "contracts/musl/upstream"]
1713
path = contracts/musl/upstream
1814
url = https://github.com/EOSIO/musl.git
@@ -49,3 +45,6 @@
4945
[submodule "cmake/polly"]
5046
path = cmake/polly
5147
url = https://github.com/learnforpractice/polly
48+
[submodule "libraries/vm/vm_py"]
49+
path = libraries/vm/vm_py
50+
url = https://github.com/learnforpractice/micropython

libraries/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
add_subdirectory( python )
22
#add_subdirectory( python-single-thread )
3-
add_subdirectory( vm_py )
4-
add_subdirectory( vm_wasm )
5-
add_subdirectory( vm_eth )
6-
add_subdirectory( vm_native )
73

8-
#add_subdirectory( vm_api_rpc )
4+
add_subdirectory( vm )
95

106
add_subdirectory( ipc )
117

libraries/chain/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ target_include_directories( eosio_chain
9696
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/python/Include
9797
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/python
9898
PUBLIC ${CMAKE_SOURCE_DIR}/contracts
99-
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm_py
100-
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm_wasm
101-
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm_py/py
10299
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm_manager
103-
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm_py/extmod
104-
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm_py/ports/unix
105-
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm_py/ports/unix/build
100+
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm/vm_py
101+
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm/vm_wasm
102+
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm/vm_py/py
103+
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm/vm_py/extmod
104+
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm/vm_py/ports/unix
105+
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm/vm_py/ports/unix/build
106106
PUBLIC ${CMAKE_SOURCE_DIR}/externals/thrift/src
107107
PUBLIC ${CMAKE_SOURCE_DIR}/externals/magic_get/include
108108
)

libraries/vm/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
add_subdirectory( vm_py )
2+
add_subdirectory( vm_wasm )
3+
add_subdirectory( vm_eth )
4+
add_subdirectory( vm_native )
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

libraries/vm/vm_py

Submodule vm_py added at 82d27b5

libraries/vm_wasm/CMakeLists.txt renamed to libraries/vm/vm_wasm/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ set(HEADERS
33
${CMAKE_SOURCE_DIR}/libraries/wasm-jit/Include
44
${CMAKE_SOURCE_DIR}/contracts
55
${CMAKE_CURRENT_SOURCE_DIR}/include
6-
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/chainbase/include
7-
"${CMAKE_CURRENT_SOURCE_DIR}/../../externals/binaryen/src" )
6+
${CMAKE_SOURCE_DIR}/libraries/chainbase/include
7+
${CMAKE_SOURCE_DIR}/externals/binaryen/src )
88

99

1010
#reference from https://github.com/BYVoid/uchardet/blob/master/src/symbols.cmake
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

libraries/vm_manager/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ target_include_directories( vm_manager
1717
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../../externals/binaryen/src"
1818
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/chain
1919
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/chain/include
20-
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm_py
21-
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm_wasm
22-
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm_py/py
20+
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm/vm_py
21+
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm/vm_wasm
22+
PUBLIC ${CMAKE_SOURCE_DIR}/libraries/vm/vm_py/py
2323
PUBLIC ${CMAKE_SOURCE_DIR}/contracts
2424
PUBLIC ${CMAKE_SOURCE_DIR}/externals/magic_get/include
2525
)

libraries/vm_py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)