Commit Graph

1076 Commits

Author SHA1 Message Date
Kleis Auke Wolthuizen
e411325bff Docker: remove redundant EMSDK_NODE env (#1225) 2023-06-01 13:13:00 -07:00
Kleis Auke Wolthuizen
57539391aa Docker: remove remnant of fastcomp (#1226)
The fastcomp backend was removed in Emscripten v2.0.0.
2023-06-01 08:24:59 -07:00
Pedro Nacht
3009d69b2b Add security policy (#1224)
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-05-31 22:12:18 +00:00
Derek Schuff
4b47cbf10b Update mac builders to use Circle's gen2 mac runner (#1222)
This runner is faster and more efficient.
Also factor the mac configuration into an executor.
2023-05-31 00:50:24 +00:00
Derek Schuff
ae245715ef 3.1.40 (#1221) 2023-05-31 00:42:41 +00:00
Derek Schuff
e8b64774ff 3.1.39 (#1217) 2023-05-19 02:42:12 +00:00
Sam Clegg
0329dbaa25 3.1.38 (#1215) 2023-05-10 15:14:28 -07:00
Sam Clegg
b113f24842 3.1.37 (#1212) 2023-04-26 10:10:23 -07:00
Sam Clegg
da9699832b 3.1.36 (#1210) 2023-04-17 10:23:46 -07:00
Sam Clegg
dd8bbe5e82 Update node version 14.15.5 -> 15.14.0 (#829) 2023-04-11 18:17:46 +00:00
Sam Clegg
22ede2db8e Add activated_path_skip to node v14.18.2 packages (#1209)
This should have been part of #1189.  See #1183.
2023-04-10 13:54:35 -07:00
Derek Schuff
886a44a5fe 3.1.35 (#1208) 2023-04-04 01:09:24 +00:00
Robbert van Ginkel
04944ddff6 Add linux/arm64 support to bazel rules (#1156)
* Add linux/arm64 support to bazel rules

* Make linux arm64 sha optional and PR feedback

Not all releases have linux shas. Use getattr to default to no sha if none was
present. This way non linux arm64 builds should not fail.

* Update linux arm64 sha for 3.1.33

This is the latest arm64 release according to #1204. There do not seem to be a any releases between .21 and .33.
2023-03-30 15:43:42 -04:00
Sam Clegg
a2ccccba58 Update arm64 linux release (#1204)
Fixes: #1202
2023-03-15 09:34:28 -07:00
Sam Clegg
f747b2c4c5 v3.1.34 (#1203) 2023-03-15 01:36:40 +00:00
Thomas Lively
60cd167fbf 3.1.33 (#1200) 2023-03-09 00:28:21 +00:00
Sam Clegg
c04b1bbb3a Only add node/bin to user's PATH if one is not already found (#1189)
If the user already has a version of node in their PATH don't clobber
it.  This doesn't effect emscripten since the version of node we use
there is controlled via the config file, not via PATH.

Part of fix for #705.
2023-03-03 07:37:33 -08:00
Kon
17f6a2ef92 Add missing binaries for bazel (#1082) 2023-02-25 10:13:46 -08:00
Sam Clegg
ea2059fd6e Update some stale information in README.md (#1190)
- Remove reference to `~/.emscripten`.  We no longer use the home
  directory to store config information by default, either in
  emscripten or in emsdk.
- Remove some references to `The Emscripten Command Prompt`.  While I
  suppose this is referring to the windows-only `emcmdprompt.bat`, and I
  suppose it means "any shell where `activate` has been run", I think
  its more clear to simply avoid using the term.
2023-02-24 10:34:27 -08:00
Sam Clegg
0ab19024f0 3.1.32 (#1188) 2023-02-18 02:09:03 +00:00
Radek Bartoň
90b4a16f05 Remove unused build_target_platform parameter from make_build (#1187) 2023-02-16 09:49:40 -08:00
Radek Bartoň
7bcf1449c0 Add Windows Arm64 support for compiling from source (#1186) 2023-02-15 13:10:41 -08:00
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