Skip to content

Commit

Permalink
Emscripten 3.1.74
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Feb 1, 2025
1 parent 41b47b5 commit 2f732a9
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Makefile.envs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export PYVERSION ?= 3.12.7
export PYODIDE_EMSCRIPTEN_VERSION ?= 3.1.73
export PYODIDE_EMSCRIPTEN_VERSION ?= 3.1.74
export PYODIDE_VERSION ?= 0.28.0.dev0
export PYODIDE_ABI_VERSION ?= 2025_0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 103f41ba386105f3b123e5201a039c1d508edb59 Mon Sep 17 00:00:00 2001
From 380817b0a87d17670635e7d80b123b904a1ff72d Mon Sep 17 00:00:00 2001
From: Hood Chatham <[email protected]>
Date: Fri, 2 Jun 2023 11:59:32 -0700
Subject: [PATCH 1/5] Add back fs.findObject and fs.readFile in loadLibData
Expand All @@ -10,7 +10,7 @@ https://github.com/emscripten-core/emscripten/pull/19513
1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/library_dylink.js b/src/library_dylink.js
index dee697661..69542d2b8 100644
index 748468aae..eca96a1eb 100644
--- a/src/library_dylink.js
+++ b/src/library_dylink.js
@@ -1013,14 +1013,23 @@ var LibraryDylink = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 24a5f3ece314cf5bc1074e167f8b549d80a12718 Mon Sep 17 00:00:00 2001
From 264239a38b6093ee50171ae4c8b648d093ace7a1 Mon Sep 17 00:00:00 2001
From: Hood Chatham <[email protected]>
Date: Fri, 19 May 2023 12:19:00 -0700
Subject: [PATCH 2/5] Add useful error when symbol resolution fails
Expand All @@ -19,7 +19,7 @@ symbol.
1 file changed, 3 insertions(+)

diff --git a/src/library_dylink.js b/src/library_dylink.js
index 69542d2b8..b3440d9dc 100644
index eca96a1eb..31ae90318 100644
--- a/src/library_dylink.js
+++ b/src/library_dylink.js
@@ -723,6 +723,9 @@ var LibraryDylink = {
Expand Down
12 changes: 6 additions & 6 deletions emsdk/patches/0003-Changes-for-JSPI.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 3d483b35ff7ed6dbb8c438f08e5a3579725fe304 Mon Sep 17 00:00:00 2001
From d03c660e0a5ca58581c173f877ef9264a568adb1 Mon Sep 17 00:00:00 2001
From: Hood Chatham <[email protected]>
Date: Thu, 22 Jun 2023 18:53:22 -0700
Subject: [PATCH 3/5] Changes for JSPI
Expand All @@ -11,7 +11,7 @@ Subject: [PATCH 3/5] Changes for JSPI
4 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/library.js b/src/library.js
index c7f26d291..caca8ff7d 100644
index 607e18e68..cfa2e49a1 100644
--- a/src/library.js
+++ b/src/library.js
@@ -492,7 +492,7 @@ addToLibrary({
Expand All @@ -24,7 +24,7 @@ index c7f26d291..caca8ff7d 100644
},
#elif !SUPPORT_LONGJMP
diff --git a/src/library_dylink.js b/src/library_dylink.js
index b3440d9dc..5cbd4c487 100644
index 31ae90318..f06f00904 100644
--- a/src/library_dylink.js
+++ b/src/library_dylink.js
@@ -73,6 +73,7 @@ var LibraryDylink = {
Expand All @@ -45,7 +45,7 @@ index b3440d9dc..5cbd4c487 100644
#endif
#if !DISABLE_EXCEPTION_CATCHING
diff --git a/src/parseTools.mjs b/src/parseTools.mjs
index ca474affa..300f38e38 100644
index fa6da8556..5a0a48548 100644
--- a/src/parseTools.mjs
+++ b/src/parseTools.mjs
@@ -585,7 +585,7 @@ function makeThrow(excPtr) {
Expand All @@ -58,7 +58,7 @@ index ca474affa..300f38e38 100644

function storeException(varName, excPtr) {
diff --git a/src/preamble.js b/src/preamble.js
index d924c4ab9..f80aae1ff 100644
index d097c857f..6a217e022 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -14,6 +14,10 @@
Expand All @@ -72,7 +72,7 @@ index d924c4ab9..f80aae1ff 100644
#if RELOCATABLE
{{{ makeModuleReceiveWithVar('dynamicLibraries', undefined, '[]', true) }}}
#endif
@@ -1054,6 +1058,7 @@ function createWasm() {
@@ -1038,6 +1042,7 @@ function getWasmImports() {
#endif // WASM_ASYNC_COMPILATION

var info = getWasmImports();
Expand Down
6 changes: 3 additions & 3 deletions emsdk/patches/0004-Raise-when-no-argument-is-given.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 4a203cf07ee0fa0006f27b8bd1979412d2fc0099 Mon Sep 17 00:00:00 2001
From 1f4e59e310a9dca31087987cf654333d29e42aad Mon Sep 17 00:00:00 2001
From: ryanking13 <[email protected]>
Date: Sat, 20 Jan 2024 19:02:32 +0900
Subject: [PATCH 4/5] Raise when no argument is given
Expand All @@ -13,10 +13,10 @@ Upstream issue: https://github.com/emscripten-core/emscripten/issues/21116
1 file changed, 3 insertions(+)

diff --git a/emcc.py b/emcc.py
index dfe088e7b..b2f0fe4cb 100644
index 2925985f2..c759defb5 100644
--- a/emcc.py
+++ b/emcc.py
@@ -661,6 +661,9 @@ There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR P
@@ -662,6 +662,9 @@ There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR P
print(libname)
return 0

Expand Down
6 changes: 3 additions & 3 deletions emsdk/patches/0005-sdl2_image-wasm-sjlj-variant.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From f917723823e81581edf8d6554edb054d28761fec Mon Sep 17 00:00:00 2001
From 4fb563293d2d52072b6a16b5b7d18021a339eaee Mon Sep 17 00:00:00 2001
From: Hood Chatham <[email protected]>
Date: Fri, 31 Jan 2025 11:42:59 +0100
Subject: [PATCH 5/5] sdl2_image wasm-sjlj variant
Expand All @@ -10,7 +10,7 @@ https://github.com/emscripten-core/emscripten/pull/23554
1 file changed, 5 insertions(+)

diff --git a/tools/ports/sdl2_image.py b/tools/ports/sdl2_image.py
index 70fa1499a..ed5ad679b 100644
index e36344eed..7a7d0aadd 100644
--- a/tools/ports/sdl2_image.py
+++ b/tools/ports/sdl2_image.py
@@ -46,6 +46,8 @@ def get_lib_name(settings):
Expand All @@ -22,7 +22,7 @@ index 70fa1499a..ed5ad679b 100644
return libname + '.a'


@@ -78,6 +80,9 @@ def get(ports, settings, shared):
@@ -77,6 +79,9 @@ def get(ports, settings, shared):
if settings.PTHREADS:
flags += ['-pthread']

Expand Down

0 comments on commit 2f732a9

Please sign in to comment.