You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paweł Bylica
1315349432
|
10 years ago | |
---|---|---|
.. | ||
evmcc | 10 years ago | |
include/evmjit | 10 years ago | |
libevmjit | 10 years ago | |
libevmjit-cpp | 10 years ago | |
.gitignore | 10 years ago | |
CMakeLists.txt | 10 years ago | |
LICENSE.md | 10 years ago | |
README.md | 10 years ago |
README.md
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
- Install llvm-3.5-dev package
- For Ubuntu 14.04 using LLVM deb packages source: http://llvm.org/apt
- For Ubuntu 14.10 using Ubuntu packages
- Build library with cmake
mkdir build && cd $_
cmake .. && make
- Install library
sudo make install
sudo ldconfig
OSX
- Install llvm35
brew install llvm35 --disable-shared --HEAD
- Build library with cmake
mkdir build && cd $_
cmake -DLLVM_DIR=/usr/local/lib/llvm-3.5/share/llvm/cmake .. && make
- Install library
make install
(with admin rights?)
Windows
Ask me.
Options
Options to evmjit library can be passed by environmental variables, e.g. EVMJIT_CACHE=0 testeth --jit
.
Option | Default value | Description |
---|---|---|
EVMJIT_CACHE | 1 | Enables on disk cache for compiled EVM objects |
EVMJIT_DUMP | 0 | Dumps generated LLVM module to standard output |