Hi all, the stable emsdk 1.35.0 release is now packaged up and available for download. In the Emscripten SDK side, there are a lot of fixes and new additions: - The Ubuntu issue with 'nodejs' vs 'node' packages is now detected. - Fixed issues with the paths generated by --embedded not being as portable as one might have liked. - Fixed an issue with emsdk update attempting to access git, when it is not necessary. - Fixed a regression where after recent emsdk manifest additions, 'emsdk install latest' would attempt to build from source on Windows, instead of using the latest precompiled package. This broke the web installer for a lot of users, but should work correctly now. - Updated to use node.js 4.1.1. Also linux now uses a precompiled version of node.js, which was possible given that node.js website bundles a portable linux executable for download. - Updated to add support for building with Visual Studio 2015, which is used if it is the only compiler present. VS2013 is still the default, if both VS2013 and VS2015 are available. Use --vs2013 or --vs2015 flags to 'emsdk install' and 'emsdk activate' steps to override. - Fixed an issue where errors in git operations might get lost in the log output, now instead abort immediately on first error. - Experimentally, one can attempt a MinGW build of LLVM by passing '--mingw' to the install step, this is however very little tested and still unsupported. - Upgrade to Emscripten 1.35.0.
In Emscripten side, the release 1.35.0 is a very important one, since it adds support several big features, as well as other notable changes: - Support for building SSE1 and SSE2 code via SIMD.js, pass in compile flag -msse or -msse2 to target these. - Support for building GLES3 codebases (targeting WebGL 2). Pass in -s USE_WEBGL2=1 linker flag to include the code to target WebGL2, and additionally pass in -s FULL_ES3=1 linker flag to enable GLES 3 buffer mapping emulation (for compatibility, not recommended for performance). Even though browsers do not yet ship with WebGL 2 support, we do already know what the spec will look like, and hence it was possible to include this support. As browser support matures on WebGL 2, bug reports on this front are welcome. - Multithreading support has been improved from the previous 1.34.1 by the addition of a new build flag -s USE_PTHREADS=2. This allows a single build to develop logic to test at runtime whether threading support is available or not, and conditionally use a multithreaded path where available and fall back to singlethreaded execution if not. - In the previous 1.34.1 precompiled release, there was a compiler stack overflow issue that several people hit at link time on large codebases. This should no longer occur. - Emscripten now uses considerably more of the musl C runtime library, by implementing Unix syscalls as the interface with the browser world. - Emscripten-ports now comes with FreeType, Bullet, Ogg and Vorbis. - The overall performance of the compiler optimization and linking stages should be faster after changes to how Emscripten drives its LLVM opt calls. The full changelog can be found at https://github.com/kripken/emscripten/blob/incoming/ChangeLog.markdown Download links are at - Windows web installer: https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-1.35.0-web-64bit.exe - Windows full installer: https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-1.35.0-full-64bit.exe - Windows portable zip: https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-1.35.0-portable-64bit.zip - Linux and OS X portable zip: https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz Existing installations can be upgraded with the usual mantra: ./emsdk update (to fetch the new package information) ./emsdk install latest (to download the new sdk) ./emsdk activate latest (to set the new sdk as the currently active one) source ./emsdk_env.sh (OS X and Linux users, to add env vars and PATH in current shell) The Emscripten 1.35.0 release is the last one to target the PNaCl fork of LLVM 3.7, and the next version will be based directly on the upstream LLVM 3.8. Thanks to everyone who have contributed code, and as always, bug reports (and fixes!) to all the regressions we made in this release are welcome. Happy Emscriptening from the Emscripten team! -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
