Revert "Upgrade emsdk from 3.1.59 to 3.1.62" (#21817)

Reverts microsoft/onnxruntime#21421

Users are seeing chrome memory grow to 16GB before it crashes:
https://github.com/microsoft/onnxruntime/issues/21810

Revert for now so we have time to debug.
This commit is contained in:
Guenther Schmuelling 2024-08-22 11:21:00 -07:00 коммит произвёл GitHub
Родитель 514b4699b4
Коммит ba7baae994
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
5 изменённых файлов: 8 добавлений и 8 удалений

2
.gitmodules поставляемый
Просмотреть файл

@ -7,4 +7,4 @@
[submodule "cmake/external/emsdk"]
path = cmake/external/emsdk
url = https://github.com/emscripten-core/emsdk.git
branch = 3.1.62
branch = 3.1.59

Просмотреть файл

@ -6,7 +6,7 @@
"component": {
"type": "git",
"git": {
"commitHash": "0fde04880048f743056bed17cb0543a42e040fae",
"commitHash": "d52c46520124845b1e0e0525f2759299d840143f",
"repositoryUrl": "https://github.com/emscripten-core/emsdk.git"
},
"comments": "git submodule at cmake/external/emsdk"

2
cmake/external/emsdk поставляемый

@ -1 +1 @@
Subproject commit 0fde04880048f743056bed17cb0543a42e040fae
Subproject commit d52c46520124845b1e0e0525f2759299d840143f

Просмотреть файл

@ -464,7 +464,7 @@ def parse_arguments():
# WebAssembly build
parser.add_argument("--build_wasm", action="store_true", help="Build for WebAssembly")
parser.add_argument("--build_wasm_static_lib", action="store_true", help="Build for WebAssembly static library")
parser.add_argument("--emsdk_version", default="3.1.62", help="Specify version of emsdk")
parser.add_argument("--emsdk_version", default="3.1.59", help="Specify version of emsdk")
parser.add_argument("--enable_wasm_simd", action="store_true", help="Enable WebAssembly SIMD")
parser.add_argument("--enable_wasm_threads", action="store_true", help="Enable WebAssembly multi-threads support")

Просмотреть файл

@ -93,15 +93,15 @@ jobs:
- script: |
set -ex
cd '$(Build.SourcesDirectory)/cmake/external/emsdk'
./emsdk install 3.1.62 ccache-git-emscripten-64bit
./emsdk activate 3.1.62 ccache-git-emscripten-64bit
./emsdk install 3.1.59 ccache-git-emscripten-64bit
./emsdk activate 3.1.59 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 3.1.62
./emsdk activate 3.1.62
./emsdk install 3.1.59
./emsdk activate 3.1.59
displayName: 'emsdk install and activate ccache for emscripten'
- template: build-linux-wasm-step.yml