Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into library_webgpu
  • Loading branch information
kainino0x committed Oct 2, 2019
2 parents f76fed7 + 801d177 commit 49e0031
Show file tree
Hide file tree
Showing 363 changed files with 74,769 additions and 2,581 deletions.
729 changes: 409 additions & 320 deletions .circleci/config.yml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ exclude =
./tools/create_dom_pk_codes.py,
./tools/asm_module.py,
./tools/ffdb.py,
./system/lib/ # system libraries
18 changes: 18 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 365
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because there has been no
activity in the past year. It will be closed automatically if no further
activity occurs in the next 7 days. Feel free to re-open at any time if this
issue is still relevant.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
19 changes: 9 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,27 @@
*~
*.swp

*.diff
# Compiled python files
*.pyc
*.bc

# Ignore only the root node_modules, but not any further down the path
/node_modules/

# Ignore generated files
# Python coverage tool output
.coverage*
tools/coverage/
htmlcov/
coverage.xml

# Files generated by test code (TODO: generate these elsewhere and remove)
tests/fake/
tests/fake1/
tests/fake2/
tests/freetype/objs/*.o
tests/freetype/objs/*.lo

third_party/lzma.js/lzip/*.o
third_party/lzma.js/lzma-native
third_party/lzma.js/lzma-native.exe

tools/optimizer_build/

.DS_Store

.coverage*
tools/coverage/
htmlcov/
coverage.xml
7 changes: 7 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -422,3 +422,10 @@ a license to everyone to use it as detailed in LICENSE.)
* Egor Suvorov <[email protected]> (copyright owned by think-cell Software GmbH)
* James Kuszmaul <[email protected]>
* Wei Mingzhi <[email protected]>
* Sergey karchevsky <[email protected]>
* Ajay Patel <[email protected]>
* Adrien Devresse <[email protected]>
* Petr Penzin ([email protected]) (copyright owned by Intel Corporation)
* Andrei Alexeyev <[email protected]>
* Cesar Guirao Robles <[email protected]>
* Mehdi Sabwat <[email protected]>
34 changes: 33 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,42 @@ See docs/process.md for how version tagging works.

Current Trunk
-------------

v.1.38.46: 09/25/2019
---------------------
- Rename libpthreads to libpthread to match its normal name on other platforms.
This change should be completely internal to emscripten.
- Remove redundnant `COMPILER_ENGINE` and `JS_ENGINE` options. We only support
node as the compiler engine so just use a single `NODE_JS` option for that.
- Module.abort is no longer exported by default. It can be exported in the normal
way using `EXTRA_EXPORTED_RUNTIME_METHODS`, and as with other such changes in
the past, forgetting to export it with show a clear error in `ASSERTIONS` mode.
- Remove `EMITTING_JS` flag, and replace it with `STANDALONE_WASM`. That flag indicates
that we want the wasm to be as standalone as possible. We may still emit JS in
that case, but the JS would just be a convenient way to run the wasm on the Web
or in Node.js.

v.1.38.45: 09/12/2019
---------------------

v.1.38.44: 09/11/2019
---------------------
- Remove Binaryen from the ports system. This means that emscripten will
no longer automatically build Binaryen from source. Instead, either use
the emsdk (binaries are provided automatically, just like for LLVM), or
build it yourself and point `BINARYEN_ROOT` in .emscripten to it. See #9409

v.1.38.43: 08/30/2019
---------------------
- noExitRuntime is no longer a property on the Module object. Use `noExitRuntime`
instead of `Module.noExitRuntime`.

v.1.38.42: 08/19/2019
----------------------
- Add support for [address sanitizer](https://clang.llvm.org/docs/AddressSanitizer.html)
and standalone [leak sanitizer](https://clang.llvm.org/docs/LeakSanitizer.html)
with multiple threads. (#9060, #9076)
- Remove ERROR_ON_MISSING_LIBRARIES setting (it's always on now)
- Remove `ERROR_ON_MISSING_LIBRARIES` setting (it's always on now)
- Remove the ability to use Python operators in flags that support KB/MB/GB/TB
suffixes, e.g. `TOTAL_MEMORY`. This means that `-s TOTAL_MEMORY=1024*1024`
will no longer work. This is done because the mechanism may result in
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

[![CircleCI](https://circleci.com/gh/emscripten-core/emscripten.svg?style=svg)](https://circleci.com/gh/emscripten-core/emscripten/tree/incoming)

Emscripten is an [LLVM](https://en.wikipedia.org/wiki/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
Emscripten is an [LLVM](https://en.wikipedia.org/wiki/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/emscripten-core/emscripten/wiki>
Links to **demos**, **tutorial**, **FAQ**, etc:
<https://github.com/emscripten-core/emscripten/wiki>

Main project page: <http://emscripten.org>

Expand Down
6 changes: 2 additions & 4 deletions docs/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ the `.emscripten` file, which it does at the `activate step.) Some of the
key values in that file include:

* `LLVM_ROOT`: The path to the LLVM binaries.
* `BINARYEN_ROOT`: The path to binaryen (the binaries are expected in `/bin` there).
* `BINARYEN_ROOT`: The path to binaryen (the binaries are expected in `/bin` under there; note that
despite the name this differs from `LLVM_ROOT` which points directly to the binaries).
* `NODE_JS`: The path to Node.js, which is needed internally.
* `COMPILER_ENGINE`: The VM used internally for the JS compiler. Normally this should be `NODE_JS`.
* `JS_ENGINES`: The full list of JS engines (or just `[NODE_JS]`). Used in the test suite.

5 changes: 4 additions & 1 deletion emar.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@
# Main run() function
#
def run():
args = substitute_response_files(sys.argv)
try:
args = substitute_response_files(sys.argv)
except IOError as e:
shared.exit_with_error(e)
newargs = [shared.LLVM_AR] + args[1:]

to_delete = []
Expand Down
Loading

0 comments on commit 49e0031

Please sign in to comment.