Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 119b721

Browse files
committed
Remove static linking support for evmjit
1 parent 7a4b078 commit 119b721

File tree

8 files changed

+1
-29
lines changed

8 files changed

+1
-29
lines changed

.gitmodules

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[submodule "evmjit"]
2-
path = evmjit
3-
url = https://github.com/ethereum/evmjit
4-
branch = develop
51
[submodule "test/jsontests"]
62
path = test/jsontests
73
url = https://github.com/ethereum/tests.git

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ add_subdirectory(libethashseal)
125125
add_subdirectory(libwebthree)
126126
add_subdirectory(libweb3jsonrpc)
127127

128-
if (EVMJIT)
129-
add_subdirectory(evmjit)
130-
endif()
131-
132128
add_subdirectory(aleth)
133129

134130
if (TOOLS)

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
- checkout
241241
- run:
242242
name: "Update required git submodules"
243-
command: git submodule update --init --recursive evmc evmjit
243+
command: git submodule update --init --recursive evmc
244244
- setup_remote_docker
245245
- run:
246246
name: "Build aleth docker image"

cmake/EthOptions.cmake

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ macro(configure_project)
2424
# components
2525
option(TESTS "Build with tests" ON)
2626
option(TOOLS "Build additional tools" ON)
27-
option(EVMJIT "Build with EVMJIT module enabled" OFF)
2827
option(HERA "Build with HERA module enabled" OFF)
2928

3029
# Resolve any clashes between incompatible options.
@@ -90,7 +89,6 @@ macro(print_config)
9089
message("------------------------------------------------------------- components")
9190
message("-- TESTS Build tests ${TESTS}")
9291
message("-- TOOLS Build tools ${TOOLS}")
93-
message("-- EVMJIT Build LLVM-based JIT EVM ${EVMJIT}")
9492
message("-- HERA Build Hera eWASM VM ${HERA}")
9593
message("------------------------------------------------------------- tests")
9694
message("-- FASTCTEST Run only test suites in ctest ${FASTCTEST}")

evmjit

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

libevm/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ if(EVM_OPTIMIZE)
2323
target_compile_definitions(evm PRIVATE EVM_OPTIMIZE)
2424
endif()
2525

26-
if(EVMJIT)
27-
target_link_libraries(evm PRIVATE evmjit)
28-
target_compile_definitions(evm PRIVATE ETH_EVMJIT)
29-
endif()
30-
3126
if(HERA)
3227
target_link_libraries(evm PRIVATE hera)
3328
target_compile_definitions(evm PRIVATE ETH_HERA)

libevm/VMFactory.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323

2424
#include <evmc/loader.h>
2525

26-
#if ETH_EVMJIT
27-
#include <evmjit.h>
28-
#endif
29-
3026
#if ETH_HERA
3127
#include <hera/hera.h>
3228
#endif
@@ -64,9 +60,6 @@ struct VMKindTableEntry
6460
VMKindTableEntry vmKindsTable[] = {
6561
{VMKind::Interpreter, "interpreter"},
6662
{VMKind::Legacy, "legacy"},
67-
#if ETH_EVMJIT
68-
{VMKind::JIT, "jit"},
69-
#endif
7063
#if ETH_HERA
7164
{VMKind::Hera, "hera"},
7265
#endif
@@ -189,10 +182,6 @@ VMPtr VMFactory::create(VMKind _kind)
189182

190183
switch (_kind)
191184
{
192-
#ifdef ETH_EVMJIT
193-
case VMKind::JIT:
194-
return {new EVMC{evmjit_create()}, default_delete};
195-
#endif
196185
#ifdef ETH_HERA
197186
case VMKind::Hera:
198187
return {new EVMC{evmc_create_hera()}, default_delete};

libevm/VMFactory.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ namespace eth
2727
enum class VMKind
2828
{
2929
Interpreter,
30-
JIT,
3130
Hera,
3231
Legacy,
3332
DLL

0 commit comments

Comments
 (0)