wiki:JSCOnly

Version 2 (modified by clopez@igalia.com, 5 years ago) (diff)

--

JSCOnly

The JSCOnly port allows to build the JSC (JavaScriptCore) interpreter using as less dependencies as possible

More info: http://constellation.github.io/blog/2016/05/02/how-to-build-javascriptcore-on-your-machine

Building

  1. Get the code
git clone git://git.webkit.org/WebKit.git WebKit
# You can use also the mirror https://github.com/WebKit/webkit
  1. Build JSCOnly
Tools/Scripts/build-jsc --jsc-only

You will get a jsc binary in the build directory (WebKitBuild)

  1. Running tests

You can run the test suite as follows

Tools/Scripts/run-javascriptcore-tests --jsc-only --release --no-build --no-fail-fast