Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

disable EOS VM on non-x86 platforms - 2.0 #8794

Merged
merged 1 commit into from Mar 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions CMakeLists.txt
Expand Up @@ -80,9 +80,8 @@ if(CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32)
endif()

if(CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32)
list(APPEND EOSIO_WASM_RUNTIMES eos-vm)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64)
list(APPEND EOSIO_WASM_RUNTIMES eos-vm-jit)
list(APPEND EOSIO_WASM_RUNTIMES eos-vm eos-vm-jit)
endif()
endif()

Expand Down
Expand Up @@ -8,7 +8,6 @@
#else
#define _REGISTER_EOSVMOC_INTRINSIC(CLS, MOD, METHOD, WASM_SIG, NAME, SIG)
#endif
#include <eosio/chain/webassembly/eos-vm.hpp>
#include <eosio/chain/webassembly/runtime_interface.hpp>
#include <eosio/chain/wasm_eosio_injection.hpp>
#include <eosio/chain/transaction_context.hpp>
Expand All @@ -23,7 +22,10 @@
#include "IR/Validate.h"

#if defined(EOSIO_EOS_VM_RUNTIME_ENABLED) || defined(EOSIO_EOS_VM_JIT_RUNTIME_ENABLED)
#include <eosio/chain/webassembly/eos-vm.hpp>
#include <eosio/vm/allocator.hpp>
#else
#define _REGISTER_EOS_VM_INTRINSIC(CLS, MOD, METHOD, WASM_SIG, NAME, SIG)
#endif

using namespace fc;
Expand Down