martijneken
ef2a8e929d
wasm_cc_binary: Specify a default OS. Allow users to override platform. ( #1262 )
...
* wasm_cc_binary: Specify a default OS. Allow users to override platform.
Problem: https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/pull/157#discussion_r1277763118
This is solving the problem in two different ways. Please let me know
your thoughts about both approaches, as either will work.
Signed-off-by: Martijn Stevenson <mstevenson@google.com >
* Rework platform selection to trigger os:wasi off standalone attr
Signed-off-by: Martijn Stevenson <mstevenson@google.com >
---------
Signed-off-by: Martijn Stevenson <mstevenson@google.com >
2023-07-28 21:08:04 +00:00
Sam Clegg
a896e3d066
3.1.44 ( #1260 )
2023-07-25 07:50:22 -07:00
Sam Clegg
b6df670bdb
Update linux arm64 to 3.1.43 ( #1258 )
2023-07-11 14:58:28 -07:00
Sam Clegg
4f2db9682c
Rename zipfile to archive or download as appropriate. NFC ( #1257 )
2023-07-10 14:04:24 -07:00
Sam Clegg
11fa694276
Update linux arm64 to 3.1.41 ( #1256 )
2023-07-10 14:04:11 -07:00
Sam Clegg
2d3b8a743e
Have create_release.py push the new branch automatically ( #1255 )
...
Having used this script for a while now I'm not sure there is any
point if leaving this last step as a manual push.
2023-07-10 14:03:32 -07:00
Sam Clegg
d9c66fa2c2
3.1.43 ( #1254 )
2023-07-10 13:10:11 -07:00
Kleis Auke Wolthuizen
e28e47659c
Docker: use a entrypoint script ( #1227 )
...
In favor of `/etc/bash.bashrc`, which is only read for interactive
shells.
2023-07-06 07:44:01 -07:00
Alon Zakai
3bde060365
Fix a typo ( #1251 )
2023-06-27 16:51:34 -07:00
Sam Clegg
c88612d6d3
Fix activated_path_skip on repeated running of emsdk_env.sh ( #1250 )
...
The first time around `node` was being correctly added to the PATH, but
the second time around this code was observing the emsdk copy of node
in the PATH and assuming it could be skipped.
Fixes : #1240
2023-06-27 16:37:22 -07:00
Sam Clegg
098a3ffa2c
Add a warning when trying to install linux-arm64 binaries ( #1249 )
...
See #547
2023-06-27 15:38:09 -07:00
Sam Clegg
88ee963cba
Add some basic testing of arm64 linux ( #1247 )
2023-06-27 13:50:25 -07:00
Sam Clegg
1d59cd22bd
Prefer arm64 over aarch64 internally. NFC ( #1246 )
...
This seems like more commonly known/used name for the architecture
these days.
2023-06-27 13:46:33 -07:00
Sam Clegg
c2260b4f28
3.1.42 ( #1238 )
2023-06-22 18:27:10 -07:00
Derek Schuff
d7327b4850
Update node, 15.14.0 -> 16.20.0 ( #1232 )
...
This allows us to use the native ARM64 version on MacOS.
Also update the test scripts to work on ARM64 mac, and skip tests that aren't relevant.
2023-06-20 18:57:05 +00:00
Sam Clegg
775ba04804
3.1.41 ( #1230 )
2023-06-05 18:50:50 -07:00
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