wiki:JSCOnly

Version 4 (modified by clopez@igalia.com, 6 years ago) (diff)

--

JSCOnly

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

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

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