Commit Graph

1092 Commits

Author SHA1 Message Date
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
Derek Schuff
e61ecfa865 2.0.29-lto (#881) 2021-09-02 10:39:38 -07:00
Derek Schuff
f9dee6673e Version 2.0.29 (#878) 2021-08-27 17:27:29 -07:00
Danny B
e82ac4ec1f Small fix for Bazel instructions. (#875)
In the past the instructions were to copy `emscripten_toolchain` into the project dir, now it downloads emsdk as a package so the `bazelrc` part has to refer to `@emsdk`.
2021-08-26 15:18:08 -04:00
Derek Schuff
8ce2547a5e Add LTO build for 2.0.28 (#873) 2021-08-26 11:54:38 -07:00
Sam Clegg
6a932246db Use .json extension for emscripten-releases-tags.json. NFC (#870) 2021-08-25 17:21:40 -07:00
Derek Schuff
793557c615 2.0.28 (#871) 2021-08-23 13:37:00 -07:00
Derek Schuff
953244003b 2.0.27 (#868)
Includes LTO and non-LTO, with non-LTO as the default
2021-08-12 19:34:34 -07:00
Derek Schuff
6d1efad07e 2.0.26-lto (#861) 2021-07-28 15:38:10 -07:00
Sam Clegg
a3d65c80d3 2.0.26 (#858) 2021-07-26 15:26:01 -07:00
Sam Clegg
5c0e31a03a 2.0.25 (#850) 2021-06-30 10:24:41 -07:00
Attila Oláh
7f983966b3 Support linking with -o filename (#849)
When linking with `-o filename` (such as in various CMake build checks), the parameter passed to the linker is a temporary file, and it is passed as a bare filename (i.e. relative path without a `'/'`). In such cases, `outdir` would have been the empty string, and the final `tar` command would fail (actually the call to `subprocess.check_call(…)` is what fails).
2021-06-28 11:01:27 -07:00
Attila Oláh
eaa49511f4 Print sys.argv when link_wrapper.py is invoked incorrectly (#847)
This should help debug cases when the link_wrapper is not invoked correctly.
2021-06-24 09:05:34 -07:00
Sam Clegg
0eae457cdb Point zsh and csh users to the correct startup script (#843)
Fixes: https://github.com/emscripten-core/emscripten/issues/14446
2021-06-17 10:36:50 -07:00
Sam Clegg
bb3189b941 Consistent error messages (#840) 2021-06-16 09:10:12 -07:00
Sam Clegg
c341e544a7 Error out on attempt to activate a missing tools (#838)
Previously if a tool (any part of an SDK) was not installed
we would issue a warning and continue to active without returning
non-zero.

This meant doing `emsdk install 2.0.0 && emsdk activate latest`
would appear to be work aside from the warning messages about
latest not being installed.

This is especially annoying since we dropped support for side
by side SDK installations.  The following sequence is no longer
valid and we want to make that clear by erroring out:

```
$ emsdk install 2.0.1
$ emsdk install 2.0.2
$ emsdk activate 2.0.1
```

Since 2.0.2 replaces 2.0.1 on the filesystem the active here
could fail hard rather than just warning.
2021-06-15 22:19:47 -07:00
Sam Clegg
e2dc11e0db 2.0.24 (#839) 2021-06-10 09:02:19 -07:00
Yulong Wang
9fca4702ac bugfix: allow to install SDK binaries alone (#834) 2021-06-08 10:57:29 -07:00
Sam Clegg
57b8067188 Improve emscripten-releases-tags.txt to support mutliple aliases (#837)
Also, improve reporting of version resolution. e.g.:

```
$ ./emsdk  install sdk-latest
Resolving SDK alias 'latest' to '2.0.23'
Resolving SDK version '2.0.23' to 'sdk-releases-upstream-77b065ace39e6ab21446e13f92897f956c80476a-64bit'
Installing SDK 'sdk-releases-upstream-77b065ace39e6ab21446e13f92897f956c80476a-64bit'..
...
```
2021-06-08 10:08:01 -07:00
Derek Schuff
f26ebb74c0 Add 2.0.23 LTO release (#830) 2021-05-27 08:50:39 -07:00
Sam Clegg
f44b841547 2.0.23 (#828) 2021-05-26 18:10:10 -07:00
Sam Clegg
c9157a9a54 2.0.22 (#827) 2021-05-25 07:21:40 -07:00
Derek Schuff
32fd1fafac 2.0.21 (#818) 2021-05-18 08:39:21 -07:00
juj
d1b4543658 macOS and Linux backwards compatibility (#819)
* Disable optional LLVM and LLDB dependencies. Target macOS 10.11 at minimum.

* flake
2021-05-18 07:36:47 -07:00
Derek Schuff
b33aaafbcd Create manifest SDK entries for ARM64 emscripten-releases builds (#816)
This allows emsdk to download the new ARM64 binaries from
the emscripten-releases builders.
2021-05-11 08:40:06 -07:00
Derek Schuff
544dd6c32b Add emscripten-releases tag for 2.0.20-lto (#817) 2021-05-10 11:10:41 -07:00
Sam Clegg
ee63b9d5d6 2.0.20 (#815) 2021-05-06 14:31:10 -07:00
Sam Clegg
09a6eae0aa Add optional hash to scripts/create_release.py (#813) 2021-05-05 11:33:42 -07:00
juj
4dbc028cb0 Remove explicit closure install step, the first install command does already seem to install google-closure-compiler-windows at least. (#803) 2021-05-05 06:57:16 -07:00