paritytech/evmjit

Name: evmjit

Owner: Parity Technologies

Description: latest version of ethereum evmjit

Created: 2015-12-03 13:57:45.0

Updated: 2018-03-06 08:40:44.0

Pushed: 2016-02-04 15:12:00.0

Homepage: null

Size: 589

Language: C++

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

The Ethereum EVM JIT

EVM JIT is a library for just-in-time compilation of Ethereum EVM code. It can be used to substitute classic interpreter-like EVM Virtual Machine in Ethereum client.

Build
Linux / Ubuntu
  1. Install llvm-3.7-dev package
  2. For Ubuntu 14.04 using LLVM deb packages source: http://llvm.org/apt
  3. For Ubuntu 14.10 using Ubuntu packages
  4. Build library with cmake
  5. mkdir build && cd $_
  6. cmake .. && make
  7. Install library
  8. sudo make install
  9. sudo ldconfig
OSX
  1. Install llvm 3.7
  2. download llvm from
  3. unzip it
  4. cd llvm-3.7.0.src
  5. mkdir build && cd $_
  6. 
    e -G "Unix Makefiles" .. -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/llvm/3.7 -DCMAKE_BUILD_TYPE=Release 
    
  7. make && make install
  8. Build library with cmake
  9. mkdir build && cd $_
  10. cmake -DLLVM_DIR=/usr/local/lib/llvm-3.7/share/llvm/cmake .. && make
  11. Install library
  12. make install (with admin rights?)
Windows

Ask me.

Options

Options to evmjit library can be passed by environmental variable, e.g. EVMJIT="-help" testeth --jit.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.