Skip to content

Memory optimized JavaScript Engine for Lightweight Web Engine

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE.BSD-2-Clause
BSD-3-Clause
LICENSE.BSD-3-Clause
MIT
LICENSE.MIT
Notifications You must be signed in to change notification settings

seungsoo47/escargot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Escargot

Travis CI Build Status SonarCloud Status

Prerequisites

On Ubuntu Linux

General build prerequisites:

sudo apt-get install autoconf automake libtool libicu-dev ninja-build

Prerequisites for x86-64-to-x86 compilation:

sudo apt-get install gcc-multilib g++-multilib
sudo apt-get install libicu-dev:i386

On macOS

brew install autoconf automake cmake icu4c libtool ninja pkg-config

Note: For later build steps (cmake, pkg-config) to find ICU libraries, you may need to set the PKG_CONFIG_PATH environment variable, as instructed by brew. E.g.:

export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

Build Escargot

git clone https://github.com/pando-project/escargot.git
cd escargot
git submodule update --init third_party
cmake -DESCARGOT_HOST=linux -DESCARGOT_ARCH=x64 -DESCARGOT_MODE=release -DESCARGOT_OUTPUT=bin -GNinja
ninja

Build options

The following build options are supported when generating ninja rules using cmake.

  • -DESCARGOT_HOST=[ linux | tizen_obs | darwin ]
    Compile Escargot for Linux, Tizen, or macOS platform
  • -DESCARGOT_ARCH=[ x64 | x86 | arm | i686 | aarch64 ]
    Compile Escargot for each architecture
  • -DESCARGOT_MODE=[ debug | release ]
    Compile Escargot for either release or debug mode
  • -DESCARGOT_OUTPUT=[ bin | shared_lib | static_lib ]
    Define target output type

Testing

First, get benchmarks and tests:

git submodule update --init

Benchmarks

Prerequisite for SpiderMonkey:

sudo apt-get install npm
npm install

Test run for each benchmark (Sunspider, Octane, V8, Chakracore, test262, SpiderMonkey, etc.):

tools/run-tests.py

About

Memory optimized JavaScript Engine for Lightweight Web Engine

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE.BSD-2-Clause
BSD-3-Clause
LICENSE.BSD-3-Clause
MIT
LICENSE.MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.7%
  • Python 2.2%
  • JavaScript 1.3%
  • Makefile 1.2%
  • Other 1.6%