Commit Graph

960 Commits

Author SHA1 Message Date
Jamie
b54a6b662f Auto-publish Arm64 images when emscripten-releases-tags.json is updated (#1231)
Add job to conditionally build arm64 images when emscripten-releases-tags.json updated
2023-12-03 21:11:09 -08:00
Heejin Ahn
e2627e265d 3.1.50 (#1306) 2023-11-29 22:35:48 -08:00
Felix Kälberer
88c2c95955 Fix spelling in README.md (#1305) 2023-11-28 09:46:12 -08:00
Sam Clegg
bfda0d0756 3.1.49 (#1300) 2023-11-14 09:35:29 -08:00
Sam Clegg
f677ef9156 3.1.48 (#1297) 2023-11-05 17:05:00 -08:00
Attila Oláh
34e6772389 [Bazel] Add an :all target (#1295)
Having an :all target is the most future-proof way here.

Closes #1294.
2023-10-30 12:34:41 -07:00
Sam Clegg
40e9cd8fbc Update linux arm64 to 3.1.47 (#1288) 2023-10-10 23:30:01 -07:00
Sam Clegg
37b85e9eae 3.1.47 (#1286) 2023-10-09 19:57:37 -07:00
Sam Clegg
717174835a Use .tar.xz extension for arm64 linux binary upload (#1287) 2023-10-09 19:24:36 -07:00
Sam Clegg
8e82384f27 Update file extension used by create_release script (#1285)
This should have been part of #1235
2023-10-09 18:54:56 -07:00
Sam Clegg
d42c740aa5 Switch to .xz by default for SDK downloads (#1281)
This is a bit of a hack but I can't think of another way to do it.
Basically when downloading SDKs, we first try the new `.xz` extension.
If that fails, we fall back to the old `.tbz2`.  Both these first two
download attempts we run in "silent" mode.  If both of them fail we
re-run the original request in non-silent mode so that the error message
will always contain the original `.xz` extension.

See #1235
2023-09-21 15:16:34 -07:00
Sam Clegg
93360d3670 3.1.46 (#1279) 2023-09-15 13:22:46 -07:00
walkingeyerobot
9b0db91883 [bazel] populate all_files (#1274)
Fixes #1273. This was broken by #1045 with the comment "* all_files not needed?" They were needed.
2023-08-29 10:21:25 -04:00
Derek Schuff
3391e039d6 Replace update_bazel_workspace.sh with a python script (#1271)
This script is (IMO) more readable, but the real reason for this change is that
it raises an error message when the binary package fails to download. (The shell
script silently generated a bogus hash instead, because the shell's `set -e`
builtin does not affect commands executing inside a $() context.
It seemed just as easy to rewrite the script in Python as to fix that.

This change also updates some outdated filename references.
2023-08-24 10:10:29 -07:00
Derek Schuff
5d347a69dc Fix the format of the .flake8 file, and exclude the script directory from the py2 linter (#1272)
Flake8's INI config file format requires commas after each line. Because our file didn't have them, the exclude list
wasn't set up correctly, and the --extend-exclude flag wasn't working. This PR fixes the .flake8 file.

Also, update flake8 to the latest version available (because version 3.8 is required to get the --extend-exclude flag)
and use the flag to exclude the files in the scripts/ directory from the python2 linter (since the scripts are python3).
2023-08-24 09:17:36 -07:00
Sam Clegg
2d22a55df8 Update linux arm64 build. NFC (#1270) 2023-08-23 13:43:33 -07:00
Derek Schuff
c8dcb45665 3.1.45 (#1269)
Also update emscripten include dir to v18, and change 17 to wildcard in emscripten deps
2023-08-23 17:27:26 +00:00
Matthew Soulanille
350c19a36c Add starlark highlighting to Bazel readme (#1264)
Mark the build files as using the starlark language so they have the correct syntax highlighting.
2023-08-08 16:14:50 -04:00
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