| | 1 | [[PageOutline]] |
| | 2 | |
| | 3 | = JSCOnly = |
| | 4 | |
| | 5 | The JSCOnly port allows to build the JSC (JavaScriptCore) interpreter using as less dependencies as possible |
| | 6 | |
| | 7 | More info: http://constellation.github.io/blog/2016/05/02/how-to-build-javascriptcore-on-your-machine |
| | 8 | |
| | 9 | == Building == |
| | 10 | |
| | 11 | |
| | 12 | 0. '''Get the code''' |
| | 13 | |
| | 14 | {{{ |
| | 15 | git clone git://git.webkit.org/WebKit.git WebKit |
| | 16 | # You can use also the mirror https://github.com/WebKit/webkit |
| | 17 | }}} |
| | 18 | |
| | 19 | 2. '''Build JSCOnly''' |
| | 20 | |
| | 21 | {{{ |
| | 22 | Tools/Scripts/build-jsc --jsc-only |
| | 23 | }}} |
| | 24 | |
| | 25 | You will get a '''jsc''' binary in the build directory (!WebKitBuild) |
| | 26 | |
| | 27 | 3. '''Running tests''' |
| | 28 | |
| | 29 | You can run the test suite as follows |
| | 30 | {{{ |
| | 31 | Tools/Scripts/run-javascriptcore-tests --jsc-only --release --no-build --no-fail-fast |
| | 32 | }}} |
| | 33 | == CrossBuilding== |