Commit Graph

1054 Commits

Author SHA1 Message Date
Sam Clegg
6305e91dee Improve ordering in emsdk list (#1180)
We have an existing `version_key` helper function for sorting versions.

It also does a better job, producing output like:

```
All recent (non-legacy) installable versions are:
         3.1.31
         3.1.31-asserts
         3.1.30
         3.1.30-asserts
         3.1.29
         3.1.29-asserts
```

Rather than:

```
All recent (non-legacy) installable versions are:
         3.1.31
         3.1.30
         3.1.29
         3.1.28
         3.1.27
```

(with -assert versions listed after 3.1.0)
2023-01-30 15:46:18 -08:00
juj
c678733d9e Remove support for building with Visual Studio 2017. Since Jan 29, 2022, upstream LLVM has required VS2019 or VS2022 to build. So it has not been possible to build emsdk from source with VS2017 for a year. 058c5dfc78 (#1178) 2023-01-30 17:46:04 +02:00
juj
592b7b74e4 Fix args ordering in LLVM build from previous commit (#1179) 2023-01-28 15:58:49 +02:00
juj
fa5f5f374f Add support for Visual Studio 2022 (#1177)
* Add support for Visual Studio 2022 and migrate to using cmake --build when building on Windows. Leverage the VS2019 MSBuild 'Multi-ToolTask' feature CL_MPCount to saturate project builds properly to 100% CPU usage so building LLVM builds different cpp files in parallel. Clean up some code duplication around Visual Studio support.

* flake

* Work around Linux bot not having 'cmake --build . -j' flag.
2023-01-28 13:08:17 +02:00
Sam Clegg
974d5c096b 3.1.31 (#1176) 2023-01-26 19:18:45 -08:00
Sam Clegg
c56f260779 Update README.md after #1166. NFC (#1172) 2023-01-17 12:44:34 -08:00
Sam Clegg
ae2664b48f Remove uneeded str. NFC (#1170)
These function already returns a string.
2023-01-13 20:14:55 -08:00
Sam Clegg
1eaaa4c5b4 Remove -upstream component of SDK names (#1166)
This name existed to distinguish the SDK from fastcomp, but as of #1165,
we no longer support fastcomp.
2023-01-13 20:11:55 -08:00
Derek Schuff
91f8563a9d 3.1.30 (#1167) 2023-01-11 16:38:04 -08:00
Sam Clegg
f3bb209b86 Remove fastcomp SDK and fastcomp build rules. NFC (#1165)
Folks that want to work with fastcomp will now need to use an older
checkout of emsdk.
2023-01-09 04:53:13 -08:00
Sam Clegg
58904e9b74 Remove reference to fastcomp-latest. NFC (#1164)
fastcomp can only be install using explicit versions names so this name
doesn't work.
2023-01-05 09:17:17 -08:00
John Firebaugh
9b87e80f3a Pin Windows CI to Bazel 5.4.0 (#1163) 2023-01-03 16:01:18 -08:00
Sam Clegg
0b2084f404 3.1.29 (#1160) 2023-01-03 10:24:53 -08:00
John Firebaugh
5b80c10e56 Upgrade to rules_nodejs 5.8.0 (#1150)
Fixes https://github.com/emscripten-core/emsdk/issues/1020
2022-12-19 18:39:40 -08:00
Sam Clegg
63a63e1664 3.1.28 (#1149) 2022-12-09 09:29:19 -08:00
Robbert van Ginkel
bd7842e4ba Add standalone_wasm feature to bazel emscripten_toolchain (#1145) 2022-12-06 15:22:11 -08:00
Sam Clegg
32fba7b7c4 Use constants for fixed paths. NFC (#1140) 2022-11-30 16:32:26 -08:00
Derek Schuff
87e02fcd31 3.1.27 (#1139) 2022-11-29 18:34:57 -08:00
Fredrik Orderud
edc4dc5b20 docker image: Change base to Ubuntu 22.04 LTS (jammy) (#1135)
Done to upgrade from CMake 3.16.3 to 3.22.1. CMake 3.21 or newer is needed to build the Qt 6.4.1 sources with emscripten.

Also update to libidn12 to resolve an "Unable to locate package libidn11" error.
2022-11-21 12:18:04 -08:00
Derek Schuff
8a1268ad8b Update remote_docker version in CircleCI config (#1117)
20.10.17 is the current default.
2022-11-21 11:38:45 -08:00
Sam Clegg
01d3d782c8 3.1.26 (#1134) 2022-11-17 19:20:10 -08:00
Trevor Hickey
e8606a7e3b remove "name" attribute from bazel rules (#1131) 2022-11-14 13:32:13 -08:00
John Firebaugh
005063304b [bazel] Switch to platforms-based toolchain resolution (#1036) 2022-11-08 14:21:06 -08:00
Derek Schuff
92d9023adc 3.1.25 (#1130) 2022-11-08 10:10:38 -08:00
Derek Schuff
e41b8c68a2 3.1.24 (#1122) 2022-10-11 12:45:01 -07:00
Pierrick Bouvier
35358657b4 Use x64 version for Windows on Arm (#1115) 2022-10-08 17:17:19 -07:00
Sam Clegg
3d87d5ea81 Avoid exporting EM_CONFIG for modern SDK versions (#1110)
Newer versions of emscipten, starting all the way back in 1.39.13, can
automatically locate the `.emscripten` config file that emsdk creates so
there is no need for the explicit EM_CONFIG environment variable.  Its
redundant and adds unnessary noisce/complexity.

Really, adding emcc to the PATH is all the is needed these days.

One nice thing about this change is that it allows folks to run
whichever emcc they want to and have it just work, even if they have
configured emsdk.   Without this change, if I activate emsdk and I run
`some/other/emcc` then emsdk's `EM_CONFIG` will still be present and
override the configuration embedded in `some/other/emcc`.

e.g. in the same shell, with emsdk activated, I can run both these
commands and have them both just work as expected.

```
$ emcc --version
$ /path/to/my/emcc --version
```
2022-10-06 14:13:13 -07:00
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