Skip to content

Commit

Permalink
Merge pull request ethereum#4905 from ethereum/interpreter
Browse files Browse the repository at this point in the history
Interpreter using EVM-C
  • Loading branch information
chfast authored Mar 23, 2018
2 parents fe4633e + e1699d2 commit 3888ded
Show file tree
Hide file tree
Showing 8 changed files with 429 additions and 238 deletions.
6 changes: 6 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ defaults:
- *store-testeth
- *restore-ethash-dag
- *test
- run:
name: "Test EVM-C Interpreter"
working_directory: ~/build
command: |
ETHEREUM_TEST_PATH=~/project/test/jsontests \
test/testeth -t GeneralStateTests -- --vm interpreter
- *save-ethash-dag
- *upload-coverage-data

Expand Down
8 changes: 2 additions & 6 deletions libevm/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

set(sources
EVMC.cpp EVMC.h
ExtVMFace.cpp ExtVMFace.h
Instruction.cpp Instruction.h
interpreter.h
LegacyVM.cpp LegacyVM.h
LegacyVMCalls.cpp
LegacyVMOpt.cpp
Expand All @@ -15,12 +17,6 @@ set(sources
VMFactory.cpp VMFactory.h
)

if(EVMJIT OR HERA)
list(APPEND sources
EVMC.cpp EVMC.h
)
endif()

add_library(evm ${sources})

target_link_libraries(evm PUBLIC ethcore devcore PRIVATE jsoncpp_lib_static Boost::program_options)
Expand Down
Loading

0 comments on commit 3888ded

Please sign in to comment.