Release 5.0.7 (#1705)
With emscripten-releases revisions:
https://chromium.googlesource.com/emscripten-releases/+/6cd98e86d7749ff98b82b7f2ae78eb4f01942788
(LTO)
https://chromium.googlesource.com/emscripten-releases/+/8f07fe77a9ba5f112a6f0582c2920979582a8682
(asserts)
---------
Co-authored-by: Sam Clegg <sbc@chromium.org>
diff --git a/bazel/MODULE.bazel b/bazel/MODULE.bazel
index b77c197..496ac02 100644
--- a/bazel/MODULE.bazel
+++ b/bazel/MODULE.bazel
@@ -1,6 +1,6 @@
module(
name = "emsdk",
- version = "5.0.6",
+ version = "5.0.7",
)
bazel_dep(name = "platforms", version = "1.0.0")
diff --git a/bazel/README.md b/bazel/README.md
index b53e6ec..cc4121e 100644
--- a/bazel/README.md
+++ b/bazel/README.md
@@ -74,7 +74,6 @@
)
emscripten_cache.configuration(flags = ["--lto"])
emscripten_cache.targets(targets = [
- "crtbegin",
"libprintf_long_double-debug",
"libstubs-debug",
"libnoexit",
diff --git a/bazel/revisions.bzl b/bazel/revisions.bzl
index 0563846..a47000a 100644
--- a/bazel/revisions.bzl
+++ b/bazel/revisions.bzl
@@ -2,6 +2,14 @@
# DO NOT MODIFY
EMSCRIPTEN_TAGS = {
+ "5.0.7": struct(
+ hash = "6cd98e86d7749ff98b82b7f2ae78eb4f01942788",
+ sha_linux = "f96cc4df9263e386d70ad37c731959886cb2a7e983b7a68bdc9ccf32402be1bd",
+ sha_linux_arm64 = "3cd706f3c97bc9e2abc9898c66ed15988243d189194623a4fb02ec207dc48693",
+ sha_mac = "0ccd510ae3e1014ffc565de482982507d1c2d3d6dc6f5bf243e857c73bd5d352",
+ sha_mac_arm64 = "37554ed4c36abb1c802aa280f2c1ef9702e19e832a66c2fe6d940b65a2049b2c",
+ sha_win = "32995a98db21951cb7e84b4898b235ba57553c9f35eeaa158cfff052fab83856",
+ ),
"5.0.6": struct(
hash = "1724b50443d92e23ef2a56abf0dc501206839cef",
sha_linux = "5688561ef52f981f2a3a939b783e6bdcfbb8487ae947a7d0aa6da4efc805dedd",
diff --git a/bazel/test_secondary_lto_cache/MODULE.bazel b/bazel/test_secondary_lto_cache/MODULE.bazel
index c61dafc..dea9968 100644
--- a/bazel/test_secondary_lto_cache/MODULE.bazel
+++ b/bazel/test_secondary_lto_cache/MODULE.bazel
@@ -11,7 +11,6 @@
)
emscripten_cache.configuration(flags = ["--lto"])
emscripten_cache.targets(targets = [
- "crtbegin",
"libprintf_long_double-debug",
"libstubs-debug",
"libnoexit",
diff --git a/bazel/test_secondary_lto_cache/MODULE.bazel.lock b/bazel/test_secondary_lto_cache/MODULE.bazel.lock
index 86bfce2..fd75f87 100644
--- a/bazel/test_secondary_lto_cache/MODULE.bazel.lock
+++ b/bazel/test_secondary_lto_cache/MODULE.bazel.lock
@@ -183,7 +183,6 @@
"--lto"
],
"targets": [
- "crtbegin",
"libprintf_long_double-debug",
"libstubs-debug",
"libnoexit",
diff --git a/emscripten-releases-tags.json b/emscripten-releases-tags.json
index d595853..154613f 100644
--- a/emscripten-releases-tags.json
+++ b/emscripten-releases-tags.json
@@ -1,6 +1,6 @@
{
"aliases": {
- "latest": "5.0.6",
+ "latest": "5.0.7",
"latest-sdk": "latest",
"latest-arm64-linux": "latest",
"latest-64bit": "latest",
@@ -10,6 +10,8 @@
"latest-releases-upstream": "latest"
},
"releases": {
+ "5.0.7": "6cd98e86d7749ff98b82b7f2ae78eb4f01942788",
+ "5.0.7-asserts": "8f07fe77a9ba5f112a6f0582c2920979582a8682",
"5.0.6": "1724b50443d92e23ef2a56abf0dc501206839cef",
"5.0.6-asserts": "0c7bd161f8f9a773e48e1a0afe0cfe59c684e247",
"5.0.5": "6eae703422b3962d1ed75e15f728ece57aad6bd6",
diff --git a/test/test_bazel.sh b/test/test_bazel.sh
index 682866f..7a1d7a2 100755
--- a/test/test_bazel.sh
+++ b/test/test_bazel.sh
@@ -19,10 +19,11 @@
grep ${VER} bazel/MODULE.bazel || (echo ${FAILMSG} && false)
cd bazel
+
bazel build //hello-world:hello-world-wasm
bazel build //hello-world:hello-world-wasm-simd
-cd test_external
+pushd test_external
bazel build //:hello-world-wasm
bazel build //long_command_line:long_command_line_wasm
bazel build //:hello-embind-wasm --compilation_mode dbg # debug
@@ -31,6 +32,8 @@
bazel build //:hello-embind-wasm --compilation_mode opt # release
# This function should not be minified if the externs file is loaded correctly.
grep "customJSFunctionToTestClosure" bazel-bin/hello-embind-wasm/hello-embind.js
+popd
-cd ../test_secondary_lto_cache
+pushd test_secondary_lto_cache
bazel build //:hello-world-wasm
+popd