static/README.wasm.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 77ed394924b3320b574261fd96bce169b547c9fb Author: Stephan Bergmann <[email protected]> AuthorDate: Fri Nov 21 14:19:21 2025 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Sat Nov 22 11:11:21 2025 +0100 Bump the Emscripten build to emsdk 4.0.10 ...as building against emsdk 3.1.46 now started to fail with > /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_wasm/svx/source/svdraw/svdmrkv.cxx:1231:78: error: no member named 'view' in 'std::stringstream' > 1231 | handleArrayStr = OString::Concat(", \"handles\":") + aStream.view(); > | ~~~~~~~ ^ > /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_wasm/svx/source/svdraw/svdmrkv.cxx:1236:86: error: no member named 'view' in 'std::stringstream' > 1236 | handleArrayStr += OString::Concat(", \"GluePoints\":") + aStream.view(); > | ~~~~~~~ ^ (<https://ci.libreoffice.org//job/lo_daily_tb_linux_wasm/1251/>) after 47da2ff20e94706a393e3b05c3bec16688b960b4 "Avoid some std::string creation". So just bump to the most recent emsdk version that works out of the box. Anything newer than emsdk 4.0.10 (like the current emsdk 4.0.20) would currently fail for us with the issue described at <https://gerrit.libreoffice.org/c/core/+/188465> "Emscripten: Adapt to internal emscripten/val.h change in Emscripten 4.0.11", though, so stick with emsdk 4.0.10 for now. Change-Id: I540569e43454c222424895b1e552b8b07d1d5066 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194331 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/static/README.wasm.md b/static/README.wasm.md index b6bcddfc1a3f..7de38e12a932 100644 --- a/static/README.wasm.md +++ b/static/README.wasm.md @@ -27,7 +27,7 @@ REMINDER: Always start new tabs in the browser, reload might fail / cache! ## Setup for the LO WASM build (with Qt) -We're using Qt 5.15.2 with Emscripten 3.1.46. There are a bunch of Qt patches +We're using Qt 5.15.2 with Emscripten 4.0.10. There are a bunch of Qt patches to fix the most grave bugs. Also there's rapid development in Emscripten, so using another version often causes arbitrary problems. @@ -38,8 +38,8 @@ using another version often causes arbitrary problems. <https://emscripten.org/docs/getting_started/index.html> git clone https://github.com/emscripten-core/emsdk.git - ./emsdk install 3.1.46 - ./emsdk activate 3.1.46 + ./emsdk install 4.0.10 + ./emsdk activate 4.0.10 Example `bashrc` scriptlet:
