From 9d474580ed65a06c235c07ad2b4d6c826ddf81ca Mon Sep 17 00:00:00 2001 From: Yulong Wang <7679871+fs-eire@users.noreply.github.com> Date: Wed, 16 Jul 2025 14:52:44 -0700 Subject: [PATCH] upgrade emsdk to 4.0.9 --- .gitmodules | 2 +- cmake/external/emsdk | 2 +- tools/ci_build/build_args.py | 2 +- .../github/azure-pipelines/templates/linux-wasm-ci.yml | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitmodules b/.gitmodules index b5bff01d89850..47fd336031aec 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,4 +7,4 @@ [submodule "cmake/external/emsdk"] path = cmake/external/emsdk url = https://github.com/emscripten-core/emsdk.git - branch = 4.0.8 + branch = 4.0.9 diff --git a/cmake/external/emsdk b/cmake/external/emsdk index 419021fa04042..3bcf1dcd01f04 160000 --- a/cmake/external/emsdk +++ b/cmake/external/emsdk @@ -1 +1 @@ -Subproject commit 419021fa040428bc69ef1559b325addb8e10211f +Subproject commit 3bcf1dcd01f040f370e10fe673a092d9ed79ebb5 diff --git a/tools/ci_build/build_args.py b/tools/ci_build/build_args.py index 53d53f3e15e99..6ec026a9e0e46 100644 --- a/tools/ci_build/build_args.py +++ b/tools/ci_build/build_args.py @@ -342,7 +342,7 @@ def add_webassembly_args(parser: argparse.ArgumentParser) -> None: """Adds arguments for WebAssembly (WASM) platform builds.""" parser.add_argument("--build_wasm", action="store_true", help="Build for WebAssembly.") parser.add_argument("--build_wasm_static_lib", action="store_true", help="Build WebAssembly static library.") - parser.add_argument("--emsdk_version", default="4.0.8", help="Specify version of emsdk.") + parser.add_argument("--emsdk_version", default="4.0.9", help="Specify version of emsdk.") parser.add_argument("--enable_wasm_simd", action="store_true", help="Enable WebAssembly SIMD.") parser.add_argument("--enable_wasm_relaxed_simd", action="store_true", help="Enable WebAssembly Relaxed SIMD.") parser.add_argument("--enable_wasm_threads", action="store_true", help="Enable WebAssembly multi-threading.") diff --git a/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml b/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml index 9f76c150ca2a4..e092854398fe9 100644 --- a/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml +++ b/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml @@ -88,15 +88,15 @@ jobs: - script: | set -ex cd '$(Build.SourcesDirectory)/cmake/external/emsdk' - ./emsdk install 4.0.8 ccache-git-emscripten-64bit - ./emsdk activate 4.0.8 ccache-git-emscripten-64bit + ./emsdk install 4.0.9 ccache-git-emscripten-64bit + ./emsdk activate 4.0.9 ccache-git-emscripten-64bit displayName: 'emsdk install and activate ccache for emscripten' - ${{if eq(parameters.WithCache, false)}}: - script: | set -ex cd '$(Build.SourcesDirectory)/cmake/external/emsdk' - ./emsdk install 4.0.8 - ./emsdk activate 4.0.8 + ./emsdk install 4.0.9 + ./emsdk activate 4.0.9 displayName: 'emsdk install and activate ccache for emscripten' - template: build-linux-wasm-step.yml