Commit Graph

927 Commits

Author SHA1 Message Date
Derek Schuff
b4fd4751ba 3.1.23 (#1111) 2022-09-23 14:27:01 -07:00
Derek Schuff
d0291b3216 3.1.22 (#1107) 2022-09-17 14:29:42 -07:00
Sam Clegg
b6574f3a89 Update XCode version on CircleCI (#1103)
12.2 is being deprecated
2022-09-13 07:20:25 -07:00
Sam Clegg
56fda13937 Update latest-arm64-linux to 3.1.21 (#1102) 2022-09-13 06:39:43 -07:00
Derek Schuff
5430866672 3.1.21 (#1101) 2022-09-09 13:30:33 -07:00
Joel Van Eenwyk
b1bb477e38 Add double-quotes to allow spaces in path (#1097) 2022-08-30 07:25:39 -07:00
Derek Schuff
21611d2a50 3.1.20 (#1095) 2022-08-24 09:57:40 -07:00
Sam Clegg
e456ebdd52 Add EMSDK_QUIET to make emsdk_env less chatting (#1091)
Without this the recommended way to silence emsdk_env was to pipe its
stderr to /dev/null.. but then you also loose potentially useful error
message.

Fixes: #946
2022-08-19 12:13:03 -07:00
Derek Schuff
c220895fd1 3.1.19 (#1090) 2022-08-17 11:47:52 -07:00
Derek Schuff
4a48a752e6 Version 3.1.18-2 (#1083)
3.1.18 had a bad release binary on ARM64 Mac so push an updated version of the release.
2022-08-04 10:29:34 -07:00
Derek Schuff
26a0dea0d3 3.1.18 (#1081)
* 3.1.18

* Update LLVM include path in Bazel files
2022-08-01 12:52:09 -07:00
Tim Ebbeke
5ad3ff05a7 Exclude msys from path fix function. (#1078)
Fixes: #911
2022-07-23 21:31:41 -07:00
Heejin Ahn
71b737e82f 3.1.17 (#1076) 2022-07-22 15:54:03 -07:00
Sam Clegg
961e66c509 3.1.16 (#1071) 2022-07-14 17:06:43 -07:00
Sam Clegg
b0a51b36ee Pin latest to a specific version for arm64-linux (#1065)
Fixes: #1040
2022-07-01 15:26:24 -07:00
Sam Clegg
8281708351 3.1.15 (#1066) 2022-07-01 08:36:40 -07:00
Sam Clegg
517e02fac8 3.1.14 (#1061) 2022-06-20 08:53:10 -07:00
Kevin Lubick
311acff345 [bazel] Add additional files necessary for building with closure and on RBE (#1057) 2022-06-07 10:48:37 -07:00
Sam Clegg
3d86ccb425 3.1.13 (#1055) 2022-06-02 18:14:57 -07:00
Sam Clegg
62d817b66d 3.1.12 (#1054) 2022-05-26 21:39:21 -07:00
Sam Clegg
b3ca5a4900 3.1.11 (#1053) 2022-05-22 11:24:36 -07:00
Ezekiel Warren
71f5fb0247 Explicit outputs for wasm_cc_binary (#1047)
* Explicit outputs for wasm_cc_binary

* Backwards compatibility

* data_runfiles restore

* restore test_bazel.sh

* Using wrong path on accident

* two separate rules for legacy support

* Added name attribute to wasm_cc_binary rule
2022-05-20 01:09:46 -04:00
Ezekiel Warren
b81dd8177d Using bazelisk on macOS CI (#1049) 2022-05-19 14:52:43 -07:00
walkingeyerobot
bba3aa9c8f include node modules glob with linker files. also some minor formatting fixes. (#1052) 2022-05-19 14:31:12 -07:00
John Firebaugh
93f21c9ef3 Optimize sandbox performance (#1045)
* Optimize sandbox performance

Link just the files needed to compile, link, or archive, rather than the entire directory tree. This drastically improves build times on macOS, where the sandbox is known to be slow (https://github.com/bazelbuild/bazel/issues/8230).

* Linux wants clang to link

* all_files not needed?

* Linux wants llc

* And llvm-ar

* Templated build_file_content
2022-05-09 14:30:43 -04:00
Sam Clegg
891b449141 3.1.10 (#1046) 2022-05-04 08:06:46 -07:00
Kevin Lubick
d8a1f6c637 [bazel] Set CLOSURE_COMPILER to workaround RBE+symlinks issue (#1037)
* [bazel] Set CLOSURE_COMPILER to workaround RBE+symlinks issue

* space

* specify node_js
2022-04-27 13:13:53 -04:00
Sam Clegg
e34773a0d1 3.1.9 (#1039) 2022-04-22 00:29:21 +00:00
John Firebaugh
e23aac7d1c Fix https://github.com/emscripten-core/emsdk/issues/1020 (#1035) 2022-04-14 15:22:36 -04:00
juj
9483a23c8a Update .gitignore to add ccache and ninja (#1027) 2022-04-13 19:48:17 +03:00
juj
7978a62f2b Pass -DENABLE_WERROR=0 when building Binaryen (#1028)
* Pass -DENABLE_WERROR=0 when building Binaryen

We are experiencing an issue at our Unity CI with building Binaryen: https://github.com/WebAssembly/binaryen/issues/4588

It seems that for end users, disabling -Werror is a good general measure to enable wider chance of success to build. Emsdk installations are unlikely to be used by Binaryen developers to iterate on Binaryen development, so it is not necessary there?

* Flake
2022-04-13 19:48:00 +03:00
juj
c2147f3b87 Enable building LLVM with about-to-be deprecated toolchains (#1029)
* Enable building LLVM with about-to-be deprecated toolchains for best chance of succeeding with the build.

* Shorten line length

* Adjust to 80 columns
2022-04-13 19:44:14 +03:00
juj
7d5e3f3e45 Git clone desired target branch directly (#1030)
When doing a git clone of a branch, instead of doing a general git clone that first would check out the default (main/master) branch and then later doing a checkout to switch to the target branch, instead specify the `--branch` option to the clone command line to immediately clone and checkout the desired final branch.

This helps first checkout runtime performance on CIs, especially when using shallow clones (GIT_CLONE_SHALLOW option).

Also this sidesteps a really odd git clone issue we are currently seeing in our CI, where it is unable to `checkout` the googletest submodule in binaryen, but would fail saying "path not found".
2022-04-13 19:34:37 +03:00
juj
051d745e16 Fix native Closure Compiler to work. (#995)
* Fix native Closure Compiler to work. Reverts my earlier PR #803 which was a great mistake, as it caused Emscripten to silently fall back to Java version of the Closure Compiler. After this PR, Closure Compiler will work on user platforms that do not have Java installed. Also forcibly remove Java version of Closure Compiler on systems where installing the native version succeeds, in order to save on code size.

* Add note to bug

* Improve google-closure-compiler-java uninstall.

* Read Closure version from Emscripten repository

* Skip native google-closure-compiler install when it is not present in the emscripten branch in package.json

* Print error
2022-04-13 16:44:59 +03:00
juj
9498542d95 Cache git executable search into a variable. (#1021)
* Cache git executable search into a variable. This helps reduce noise in the verbose debug logging output messages when EMSDK_VERBOSE=1 is enabled.

* Flake

* Mark cached_git_executable global
2022-04-12 16:08:02 -07:00
yowl
315e76344f Add windows download location to python search path - match manifest (#1024) 2022-04-12 11:53:50 -07:00
百地 希留耶
714d434b1a Set environment for powershell on all platforms (#1017) 2022-03-28 08:41:40 -07:00
Sam Clegg
2346baa7bb 3.1.8 (#1016) 2022-03-25 00:38:04 -07:00
Sam Clegg
dd10e14bce Followup from #1013 (#1015) 2022-03-24 16:19:49 -07:00
Sam Clegg
1b1f5f24df Remove unused codepath for single-file tools. NFC (#1013)
We don't have any tools that are just one file, and indeed we
assume these days that tools install to their own directory.
2022-03-24 15:29:40 -07:00
Sam Clegg
2a68987f5e Remove non-ascii char from emsdk.py. NFC (#1014)
This was introduced by mistake in #996 and causes Emsdk.test_no_32bit to fail.
2022-03-23 16:26:39 -07:00
juj
497595e830 Fix macOS build (#996)
* Fix macOS build. See https://github.com/WebAssembly/binaryen/issues/4299

* Update comment
2022-03-23 09:32:54 +02:00
Sam Clegg
637777bd62 Minor python code cleanup (#1008)
Regarding the change to `content_exists`, we only support tools that
are directories full of files, there is no such thing as a tool that
is just a single file and not a directory.
2022-03-22 16:52:43 -07:00
Sam Clegg
8cea3780cd Update emsdk.bat after recent python update (#1010)
Fixes: #1009
2022-03-22 16:06:23 -07:00
Sam Clegg
3e7e0ab8c3 Add prebuilt binaries of 3.1.7 for linux/arm64 (#1011) 2022-03-22 16:02:05 -07:00
Sam Clegg
70323522d6 Switch to nuget python package for windows (#1001)
This allows us to use pip and install other packages.

Fixes #16466
2022-03-21 09:16:44 -07:00
Sam Clegg
433a2d1bc0 Remove some unused functions. NFC (#1007) 2022-03-18 19:12:58 +00:00
Sam Clegg
858f73d260 Consistent use of os.getenv. NFC (#1006)
Is slightly less typing than os.environ.get().

Followup to #1004.
2022-03-18 18:26:57 +00:00
Sam Clegg
bfcfad3a99 Remove unsed 'windows_install_path' (#1005) 2022-03-18 14:23:22 -04:00
Sam Clegg
82301254f7 Use second argument to os.getenv to simplify code. NFC (#1004) 2022-03-18 11:03:05 -07:00