Emscripten: An LLVM-to-JavaScript Compiler
Перейти к файлу
Jukka Jylänki 5399f2a318 Test that preprocessor define __EMSCRIPTEN_PTHREADS__ is actually present when building with pthreads enabled. 2015-06-01 15:11:49 +03:00
cmake/Modules
docs
media
site Remove the -lpthread setting, and only use -s USE_PTHREADS=1 to have only one build and link flag for threads. 2015-06-01 15:11:46 +03:00
src Fix pthread_cleanup_push() to new API after rebase. 2015-06-01 15:11:48 +03:00
system Add new functions emscripten_num_logical_cores() which returns the number of detected logical cores on the system and emscripten_force_num_logical_cores() which allows overriding the value returned by this function. Add a new command line variable -s PTHREAD_HINT_NUM_CORES=x to allow choosing the default value when navigator.hardwareConcurrency is not supported. 2015-06-01 15:11:43 +03:00
tests Test that preprocessor define __EMSCRIPTEN_PTHREADS__ is actually present when building with pthreads enabled. 2015-06-01 15:11:49 +03:00
third_party
tools Readapt tools/system_libs.py adding for pthreads and malloc to work after upstream refactoring. 2015-06-01 15:11:36 +03:00
.gitignore
AUTHORS Added myself to AUTHORS. 2015-05-27 16:38:07 +02:00
CONTRIBUTING.md
ChangeLog.markdown
LICENSE
README.md
em++
em++.bat
em-config
em-config.bat
emar add a hash to .a objects, to allow duplicates to work #2142 2015-05-22 12:57:29 -07:00
emar.bat
embuilder.py
emcc Abort compilation if PROXY_TO_WORKER=1 is attempted with USE_PTHREADS=1. 2015-06-01 15:11:46 +03:00
emcc.bat
emcc.py
emcmake Fix emcmake script that broke in a regression from https://github.com/kripken/emscripten/pull/3447 to an error of not being able to concatenate str and list. 2015-05-26 17:50:58 +03:00
emcmake.bat
emconfigure
emconfigure.bat
emlink.py
emmake
emmake.bat
emranlib
emranlib.bat
emrun
emrun.bat
emscons
emscripten-version.txt 1.33.0 2015-05-28 16:15:07 -07:00
emscripten.py HACK: Atomics.exchange() is not yet implemented, so as a temp workaround, do it as u32 version with a CAS loop. TODO: revert this commit once https://bugzilla.mozilla.org/show_bug.cgi?id=1141986 lands. 2015-06-01 15:11:41 +03:00
package.json

README.md

emscripten logo

Emscripten is an LLVM-to-JavaScript compiler. It takes LLVM bitcode - which can be generated from C/C++, using llvm-gcc (DragonEgg) or clang, or any other language that can be converted into LLVM - and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run).

Links to demos, tutorial, FAQ, etc: https://github.com/kripken/emscripten/wiki

Main project page: http://emscripten.org

License

Emscripten is available under 2 licenses, the MIT license and the University of Illinois/NCSA Open Source License.

Both are permissive open source licenses, with little if any practical difference between them.

The reason for offering both is that (1) the MIT license is well-known, while (2) the University of Illinois/NCSA Open Source License allows Emscripten's code to be integrated upstream into LLVM, which uses that license, should the opportunity arise.

See LICENSE for the full content of the licenses.