Граф коммитов

820 Коммитов

Автор SHA1 Сообщение Дата
Kevin Lubick 600dc4d912
Add closure example for wasm_cc_binary (#941)
* Stub out addition of closure_externs_file option in wasm_cc_binary

* WIP

* args are passed, externs cannot be found

* try location

* update tests
2022-02-17 13:16:18 -05:00
Derek Schuff d7d8fef23e
3.1.4 (#988)
Update emscripten-releases tags, and update Bazel include paths to match the new clang version number.
2022-02-14 18:12:25 -05:00
Matthew Soulanille bc6209b6dc
Support Bazel builds on Apple silicon (#978)
* Support Bazel builds on Apple silicon

* Add sha_mac_arm64 hash for 3.1.3

* Configure node_repositories in emscripten_deps.bzl

* Add mac arm64 to bazel workspace update script

Co-authored-by: Matthew Soulanille <matthew@guppy.home>
2022-02-11 14:18:16 -05:00
Sam Clegg c33c7be17f
Fix mac python by avoiding linking libintl (#981)
Fixes: #980
2022-01-31 11:37:32 -08:00
Sam Clegg fc645b7626
3.1.3 (#979) 2022-01-31 09:35:26 -08:00
Sam Clegg 68c835fb1a
Handle two different revisions in create_release.py (one for asserts) (#977) 2022-01-28 17:12:06 -08:00
Sam Clegg 71868be25e
Make sorting of releases in create_release.py stable (#976)
We were only sorting by the X.Y.Z part of the version which meant that,
for example, `1.2.3` and `1.3.4-lto` were being compared equal.
2022-01-28 16:47:13 -08:00
Sam Clegg 7bd01a2a40
Rebuild MacOS python with lzma module installed (#975)
Also update `scripts/update_python.py` such that it works on
linux once again.

Fixes: https://github.com/emscripten-core/emscripten/issues/16073
2022-01-27 07:09:53 -08:00
Sam Clegg 476a14d60d
3.1.2 (#973) 2022-01-21 10:39:10 -08:00
Sam Clegg 0f0ea34526
Add `git submodule update` when doing a git checkout (#974)
This is required to build binaryen since
https://github.com/WebAssembly/binaryen/pull/4466
2022-01-20 17:25:43 -05:00
Piotr Sikora 61c35abc7a
Don't advertise "per_object_debug_info" feature in Bazel. (#969)
It breaks @emsdk in workspaces that have this feature enabled.

The following error appears when using the latest commit:

    cc_toolchain '@emsdk//emscripten_toolchain:everything' with
    identifier 'emscripten-wasm' doesn't define a tool path for 'dwp'

The following error appears after adding `emdwp` tool and scripts:

    output '*.dwo' was not created

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2022-01-19 18:45:46 -05:00
Piotr Sikora 23b3e18db8
Allow @emsdk to be imported in a non-x86_64 host. (#970)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2022-01-19 18:44:08 -05:00
Piotr Sikora 7eecde8afc
Fix building rules_foreign_cc targets in Bazel. (#968)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2022-01-16 15:20:53 -05:00
Sam Clegg 447aa44d78
Remove `download_even_if_exists` argument to download_and_unzip (#964)
These days this argument really means `install_even_if_directory_exists`
(at least since #9300.

However by the time we call `download_and_unzip` we have already checked
that `is_installed()` is false so we know we want to install for sure.
If the installation directory already existed and contained the correct
contents we would never get as far as `download_and_unzip`.
2022-01-10 12:49:51 -08:00
Sam Clegg 2c09626c34
3.1.1 (#965) 2022-01-10 10:00:22 -08:00
Sam Clegg 24e78812e0
Minor node version update v14.15.5 -> v14.18.2 (#953)
The newer versions of eslint require 14.17.0 or above.  This
updates our node version to the latest in the 14.XX series.

I don't expect any user-visible changes.
2022-01-09 07:43:39 -08:00
Sam Clegg 82ad00499a
Remove unused argument. NFC (#952)
The usage of this argument was removed in #838.
2022-01-05 06:00:44 -08:00
Greg Buchholz 060b48f0c6
Correct typo in "emsdk help" message. (#959)
When invoking "emsdk help", there is a typo/grammatical error in the second to last paragraph.
See also:

    https://github.com/emscripten-core/emsdk/issues/957
2021-12-26 15:26:51 -08:00
Sam Clegg 4764bfa848
Add test and remove unused args (#951)
Followup to #930: Add a tests, and remove newly-unused arguments
to unzip and untargz.
2021-12-22 16:21:07 -08:00
Sam Clegg 8e7b714a0b
3.1.0 (#955) 2021-12-22 15:48:24 -08:00
Sam Clegg faf9a33f12
Fix for windows checksum in bazel/revisions.bzl. NFC (#954)
I'm not sure how that wrong was added by the create_release script.
2021-12-22 07:34:26 -08:00
Ezekiel Warren 774b871eca
Bazel Windows Support (#929) 2021-12-20 14:24:56 -05:00
Jan-Marek Glogowski bb9a6a326f
Optionally keep the downloaded archives (#930)
Prevent downloading the tool archives all over again, if you
switch some emscripten or tool version.
2021-12-20 08:52:58 -08:00
Pavel Novikov 75ab7cf422
Fix typo (#950) 2021-12-19 09:13:25 -08:00
Sam Clegg 3f3008647d
3.0.1 (#949) 2021-12-17 14:58:10 -08:00
Brad Kotsopoulos a7e4653c22
Canonical optimization levels in bazel toolchain (#940) 2021-12-06 13:20:14 -05:00
walkingeyerobot c7305b4045
Always output a tarball from cc_binary to simplify logic. (#936)
* Always output a tarball from cc_binary to simplify logic. This will change the result of --config=wasm builds that were previously outputting a single file.

* better to use early return here

* Always output a tarball from cc_binary to simplify logic. This will change the result of --config=wasm builds that were previously outputting a single file.

* better to use early return here

Co-authored-by: Mitch Foley <mitchfoley@chromium.org>
2021-12-01 15:26:16 -08:00
Sam Clegg 846f683bea
3.0.0 (#939) 2021-11-22 15:09:10 -08:00
Sam Clegg 2ec227afbe
Pass -Wno-unused-variable when building binaryen during CI (#938)
See https://github.com/emscripten-core/emsdk/pull/936
See https://github.com/WebAssembly/binaryen/issues/4353
2021-11-22 12:41:06 -08:00
Kleis Auke Wolthuizen d8a1fd7099
Simplify and improve .dockerignore. NFC. (#934) 2021-11-17 11:44:38 -08:00
Jan-Marek Glogowski eac57d992a
Remove all vs-tool references (#931) (#931)
They were originally removed from emsdk_manifest.json in commit
12f1824ffb ("Remove Tools and SDKs
that do no longer work after migration from Mozilla to Google
hosting. (#395)").
2021-11-14 12:28:45 -08:00
Sam Clegg 3acac70a55
2.0.34 (#925) 2021-11-04 14:53:04 -07:00
Sam Clegg 044d620ff2
2.0.33 (#922)
I add to temporarily disable the test_binaryen_from_source test
under macOS to work around:
https://github.com/WebAssembly/binaryen/issues/4299
2021-11-01 15:30:30 -07:00
Sam Clegg 69bc93a988 Revert "Update CMAKE_OSX_DEPLOYMENT_TARGET from 10.11 to 10.14 (#924)"
This reverts commit 99e5e0230d.
2021-11-01 15:00:45 -07:00
Sam Clegg 99e5e0230d
Update CMAKE_OSX_DEPLOYMENT_TARGET from 10.11 to 10.14 (#924)
Apparently 10.11 is no longer good enough to run the latest version of
binaryen.  Specifically since binaryen switched to using std::variant it
now fails to build with this set to 10.11.

This is also the version used on the emscripten-releases CI which builds
the emsdk binaries:
https://chromium.googlesource.com/emscripten-releases/+/refs/heads/main/src/build.py#673
2021-11-01 14:59:30 -07:00
juj 2b3e0b9176
Add back node.js 12.18.1 packages for Windows 7 support. (#877) 2021-10-27 10:12:06 -07:00
Kevin Lubick 85d27a4a2a
Improve flags in bazel example (#917) 2021-10-24 09:22:52 -07:00
Sam Clegg 1c420fd6e5
2.0.32 (#915) 2021-10-19 17:55:27 -07:00
Kevin Lubick 40882443a1
Update build_bazel_rules_nodejs to fix closure compiles (#912)
* Update build_bazel_rules_nodejs to fix closure compiles

* Fix spacing in update_bazel_workspace.sh script

* space
2021-10-19 14:44:48 -07:00
Kevin Lubick f8615b4782
Run buildifier on bazel/ (#913) 2021-10-19 15:56:55 -04:00
Kevin Lubick 773e4f955d
Add embind example to Bazel docs (#910)
* Add embind example to Bazel docs

* address feedback
2021-10-14 13:49:36 -04:00
walkingeyerobot 7f39d100d8
bazel: pass -g instead of -g4 for wasm_asan feature (#904) 2021-10-13 08:07:14 -07:00
Sam Clegg 3891e7b04b
2.0.31 (#906) 2021-10-01 16:02:25 -07:00
Sam Clegg c60dd3bd4f
Fix emscripten-version parsing (#902)
See https://github.com/emscripten-core/emscripten/pull/15144
2021-09-28 07:01:09 -07:00
juj 4d84356204
Fix passing -DLLVM_ENABLE_PROJECTS directive to CMake - it does not want to see double quotes in the field passed to it. (#898) 2021-09-25 07:19:55 -07:00
Matt Gucci deb6453391
Fix error handling: untargz() in emsdk.py (#895)
Make untargz() in emsdk.py return False if tar command failed.
2021-09-20 10:02:01 -07:00
Derek Schuff b946a4786a
2.0.30 (#893) 2021-09-15 12:03:43 -07:00
Sam Clegg b362b17326
Add arm64 fastcomp releases to emsdk_manifest.json (#891)
This was missing from emsdk_manifest.json and should alow older fastcomp
SDKs to be install on M1 apple hardware (in emulation mode).

Fixes: #889
2021-09-09 08:42:47 -07:00
Brad Kotsopoulos cf706316f5
[Bazel] fix llvm bin path (#888) 2021-09-09 00:46:25 -07:00
Derek Schuff 68cfa875ed
Fix release name for 2.0.29-lto (#885)
Fixes #884
2021-09-07 12:30:04 -07:00