General build prerequisites:
sudo apt-get install autoconf automake cmake libtool libicu-dev ninja-buildPrerequisites for x86-64-to-x86 compilation:
sudo apt-get install gcc-multilib g++-multilib
sudo apt-get install libicu-dev:i386build core runtime of Escargot engine (excluding intl, temporal etc)
git clone https://github.com/Samsung/escargot.git -b return-check
cd escargot
git submodule update --init third_party
cmake -H. -Bout/test/release -DESCARGOT_HOST=linux -DESCARGOT_ARCH=[x86|x64|arm|aarch64] -DESCARGOT_MODE=release -DESCARGOT_OUTPUT=shell -DESCARGOT_THREADING=ON -DESCARGOT_TEST=ON -GNinja
ninja -Cout/test/releaseUsing test runner
tools/run-tests.py --engine=ESCARGOT_BINARY_PATH octaneOr directly run octane benchmarks
cd test/octane/
./escargot run.jsUsing test runner
tools/run-tests.py --engine=ESCARGOT_BINARY_PATH sunspider-jsdownload kraken benchmark
git clone https://github.com/mozilla-it/krakenbenchmark.mozilla.org.gitrun kraken benchmark
cd krakenbenchmark.mozilla.org
./sunspider --shell ESCARGOT_BINARY_PATH --suite kraken-1.1results would be stored in kraken-1.1-results directory