Commit Graph

987 Commits

Author SHA1 Message Date
冰雪殇璃陌梦
fc9146e09f Upgrade CI to Ubuntu 20.04 LTS (Focal) (#1183)
# Why
On one hand Ubuntu18's free LTS cycle is ended, and on the other hand Ubuntu18 does not support nodejs greater than v18.
# What's changed.
1. update the Linux Docker image to buildpack-deps:focal
2. some compatibility changes
3. use the new recommended way to install Docker ([see here](https://docs.docker.com/engine/install/ubuntu/))

See #1173
2024-05-28 11:34:36 -07:00
Derek Schuff
ce74ca2b1c 3.1.60 (#1385) 2024-05-20 23:41:54 +00:00
walkingeyerobot
399e5396df [bazel] add tarball as an optional output (#1383)
Usage would be something like:
```
filegroup(
    name = "hello-world-tarball",
    srcs = [":hello-world-wasm"],
    output_group = "_wasm_tar",
)
```
2024-05-15 17:20:54 -04:00
Sam Clegg
d52c465201 3.1.59 (#1377) 2024-04-30 07:56:18 -07:00
Anita Hammer
f58f80d3ba Update docker/README.md (#1375) 2024-04-27 20:25:02 -07:00
Sam Clegg
e0a6aa06b1 3.1.58 (#1372) 2024-04-23 10:13:28 -07:00
Ezekiel Warren
ad59642673 fix(bazel): use param file for compile (#1373)
* fixes issues on windows when dealing with many dependencies causing a
  'command line too long' error
2024-04-22 14:19:11 -04:00
Sam Clegg
176dec4875 arm64-linux binaries are now available for all releases (#1369) 2024-04-10 16:32:54 -07:00
Sam Clegg
229d83fc70 3.1.57 (#1367) 2024-04-10 10:11:44 -07:00
Damian
90d2168e72 (bazel) Set @platforms//os:emscripten for platform_wasm (#1363)
* (bazel) Set @platforms//os:emscripten for platform_wasm

* (bazel) Set @platforms//os:emscripten for platform_wasm

* (bazel) Set @platforms//os:emscripten for platform_wasm
2024-04-04 15:04:10 -04:00
Heejin Ahn
e10826f919 3.1.56 (#1360)
#1353 turned out to be broken, so this is the second try.
2024-03-14 17:25:09 -07:00
Sam Clegg
ccd111fb1f Prefer curl for downloading files over urllib (#1355)
This is especially important on macOS where `urllib` can fail to
verify certificates.

See https://stackoverflow.com/questions/40684543/how-to-make-python-use-ca-certificates-from-mac-os-truststore

Fixes: #1207, #85, #1356, #1357, #1358
2024-03-14 13:19:45 -07:00
Sam Clegg
44bf7cfbe6 CI: Build latest docker image rather than tot (#1359)
This means that CI run that update `latest` actually test the thing
we are about to ship.

We recently had a case where `latest` was broken but `tot` was fixes
and we accidentally shipped a broken SDK version (#1353).
2024-03-14 09:45:41 -07:00
Heejin Ahn
da5a19215a 3.1.56 (#1353) 2024-03-13 22:34:27 -07:00
Sam Clegg
5726cccef5 Remove JS_ENGINES and COMPILER_ENGINE from config file (#1354)
`COMPILER_ENGINE` was completely removed from emscripten in
https://github.com/emscripten-core/emscripten/pull/9469.

`JS_ENGINES` is only used/needed for testing and is no longer needed
as of https://github.com/emscripten-core/emscripten/pull/9542.
2024-03-13 17:54:26 -07:00
Sam Clegg
7815dcaa5c 3.1.55 (#1350) 2024-03-01 10:59:26 -08:00
Sam Clegg
c18280c8f3 3.1.54 (#1343) 2024-02-15 21:46:38 +00:00
Sam Clegg
2aa7490715 3.1.53 (#1336) 2024-01-29 23:20:15 +00:00
Sam Clegg
4f0128ee77 [ci] Update to latest version of cicleci windows orb (#1339)
See https://github.com/emscripten-core/emscripten/pull/21110
2024-01-29 22:28:36 +00:00
Sam Clegg
f2baa2f56a Only pass -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON when building llvm. NFC (#1334) 2024-01-24 12:09:59 -08:00
Sam Clegg
96bd9f0c9a 3.1.52 (#1332) 2024-01-19 17:47:51 +00:00
Sam Clegg
0bbae74935 Restore npm install step removed in #1325 (#1329) 2024-01-03 10:25:06 -08:00
Тhоmаs Ll
9347bc393b Fix FileExistsError on subsequent bazel builds on Windows (#1326) (#1326)
Fixes #1181.
2023-12-27 16:21:55 -05:00
Sam Clegg
8822664a14 Remove logic build building native asm.js optimizer. NFC (#1325)
We no longer support building fastcomp-based SDKs
2023-12-18 11:40:24 -08:00
Sam Clegg
4e2496141e 3.1.51 (#1323) 2023-12-13 16:49:36 -08:00
Sam Clegg
cc1b3efbd3 Error on unknown arguments passed to --activate (#1313)
See #1312
2023-12-08 10:30:37 -08:00
Sam Clegg
ef77dcc2c0 Add suggestion to install using --permanent or --system on windows. NFC (#1308)
Fixes: #1307
2023-12-04 09:26:53 -08:00
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