-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Node.js to run with Microsoft's ChakraCore engine #4765
Commits on Jan 12, 2016
-
chakrashim: implement V8 APIs on Chakra
ChakraShim implements essential V8 APIs needed by Node.js on top of the Chakra runtime hosting API (JSRT). This enables Node.js and other native addon modules written for V8 to build and run with the Chakra JavaScript engine.
Configuration menu - View commit details
-
Copy full SHA for 77a5f8d - Browse repository at this point
Copy the full SHA 77a5f8dView commit details -
Source code of [chakracore](https://github.com/Microsoft/ChakraCore.git) that lights up Node.js for Chakra. Building Node.js with Chakra produces chakracore.dll along with other binaries that is needed by node.exe to function.
Configuration menu - View commit details
-
Copy full SHA for 8a8c98c - Browse repository at this point
Copy the full SHA 8a8c98cView commit details
Commits on Jan 28, 2016
-
build: build with chakrashim/chakracore
Enable building Node.js with chakracore engine for windows OS - x86, x64 and ARM. * Configure to build Node.js with "v8" (default) or "chakracore" JS engine with optional vcbuild.bat switch. * chakrashim uses js2c with a namespace. * Configure msvs_use_library_dependency_inputs to export symbols correctly (otherwise functions not used by node.exe but might be needed by native addon modules could be optimized away by linker). * Add parameter `arm` to `vcbuild.bat` that will pass `--openssl-no-asm` * Introduced `msvs_windows_target_platform_version` to be used to set Windows SDK for ARM.
Configuration menu - View commit details
-
Copy full SHA for b6e81a2 - Browse repository at this point
Copy the full SHA b6e81a2View commit details -
node-gyp: Support to build with chakracore engine
Add support to allow node.js build with chakracore enigne for Windows OS x86/x64 architecture. * Enables building native addon modules for Node.js with multiple node-engines. * Configure msvs_use_library_dependency_inputs to export symbols correctly (otherwise functions not used by node.exe but might be needed by native addon modules could be optimized away by linker).
Configuration menu - View commit details
-
Copy full SHA for 81fb6d5 - Browse repository at this point
Copy the full SHA 81fb6d5View commit details -
gyp: Support to build with chakracore engine
Add support to allow node.js build with chakracore enigne for Windows OS x86/x64 architecture. * Configure msvs_use_library_dependency_inputs to export symbols correctly (otherwise functions not used by node.exe but might be needed by native addon modules could be optimized away by linker).
Configuration menu - View commit details
-
Copy full SHA for c1ae676 - Browse repository at this point
Copy the full SHA c1ae676View commit details -
node-gyp: Support to build with chakracore for ARM
* Support building node.js with chakracore on Windows on ARM * Building chakracore for ARM has a dependency on Windows SDK installed on the machine. Update python script to populate `WindowsSDKDesktopARMSupport` and `WindowsTargetPlatformVersion` for ARM builds by configuring msvs_windows_target_platform_version. This will be used in `chakracore.gyp` to pass as parameter to `msbuild.exe`.
Configuration menu - View commit details
-
Copy full SHA for 6e97a0b - Browse repository at this point
Copy the full SHA 6e97a0bView commit details -
gyp: Support to build with chakracore for ARM
* Support building node.js with chakracore on Windows on ARM * Building chakracore for ARM has a dependency on Windows SDK installed on the machine. Update python script to populate `WindowsSDKDesktopARMSupport` and `WindowsTargetPlatformVersion` for ARM builds by configuring msvs_windows_target_platform_version. This will be used in `chakracore.gyp` to pass as parameter to `msbuild.exe`.
Configuration menu - View commit details
-
Copy full SHA for 432d4a9 - Browse repository at this point
Copy the full SHA 432d4a9View commit details -
src,lib: Node source changes for Chakra engine
* Add runtime property "process.jsEngine" to indicate current JS engine node runs on (JS engine is determined at build time). * Update REPL to work with Chakra engine. * Buffer/SlowBuffer currently does not support @@species constructor. Mark them as such to avoid failure as per ES6 TypedArray @@species spec. * Minor fix in `string_bytes.cc` because of way Chakra handles `String::NewExternal`.
Configuration menu - View commit details
-
Copy full SHA for abccd71 - Browse repository at this point
Copy the full SHA abccd71View commit details -
test: Fixed unittest for Chakra engine
There were certain unittest that depends specifically on v8 internals and/or engine specific error message. This change adds if-else to expect different error message for Chakra engine or skip running test case if it test v8 internals not present in Chakra or if it test features unimplemented by chakrashim. Modified test python script to take engine name depending on which it will match the baselines for v8 vs. chakracore engine.
Configuration menu - View commit details
-
Copy full SHA for 19b2e48 - Browse repository at this point
Copy the full SHA 19b2e48View commit details