-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the latest emsdk version to compile openjpeg decoder #19585
Conversation
The latest version of emscripten removed an option in order to not use |
This comment was marked as outdated.
This comment was marked as outdated.
There's no guarantee that it doesn't break any number of other things, so I'd recommend diffing all built files and comparing this patch against diff --git a/gulpfile.mjs b/gulpfile.mjs
index e79b79a96..77af20bdc 100644
--- a/gulpfile.mjs
+++ b/gulpfile.mjs
@@ -387,6 +387,7 @@ function createWebpackConfig(
parser: {
javascript: {
importMeta: false,
+ url: false,
},
},
rules: [ See also https://webpack.js.org/configuration/module/#moduleparserjavascripturl |
I think I found something: diff --git a/gulpfile.mjs b/gulpfile.mjs
index e79b79a96..6713cdb6b 100644
--- a/gulpfile.mjs
+++ b/gulpfile.mjs
@@ -400,6 +400,13 @@ function createWebpackConfig(
targets: BABEL_TARGETS,
},
},
+ {
+ test: /\.wasm$/,
+ type: "asset/resource",
+ generator: {
+ emit: false,
+ },
+ },
],
},
// Avoid shadowing actual Node.js variables with polyfills, by disabling |
9a910f2
to
cd43e3b
Compare
Have you compared the built Because when I do that locally it no longer emits the wasm-file, however the JavaScript code still contains a bunch of generated boilerplate code that references the wasm-file which seems strange. |
cd43e3b
to
c1ef19a
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/147f820c980e286/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/7dd1719a5ead849/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/147f820c980e286/output.txt Total script time: 29.09 mins
Image differences available at: http://54.241.84.105:8877/147f820c980e286/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/7dd1719a5ead849/output.txt Total script time: 60.00 mins |
c1ef19a
to
559ff28
Compare
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/b54b2ed7bf3c0a4/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/f43f9e8b3d5b533/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/f43f9e8b3d5b533/output.txt Total script time: 29.98 mins
Image differences available at: http://54.241.84.105:8877/f43f9e8b3d5b533/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/b54b2ed7bf3c0a4/output.txt Total script time: 60.00 mins |
|
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/be72e38f110bcc5/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/b05fadb7c2d34c8/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/be72e38f110bcc5/output.txt Total script time: 29.47 mins
Image differences available at: http://54.241.84.105:8877/be72e38f110bcc5/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/b05fadb7c2d34c8/output.txt Total script time: 58.58 mins
Image differences available at: http://54.193.163.58:8877/b05fadb7c2d34c8/reftest-analyzer.html#web=eq.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me, assuming that you carefully check that there's no actual failures in the reference tests; thank you.
I think we should makerefs and then re-run the tests, wdyt ? |
Sure, that's probably easier than going through 2458 ref-test results :-) |
/botio browsertest |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/ec8b42eeca78361/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/fa9b4b6031ba09e/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/ec8b42eeca78361/output.txt Total script time: 16.34 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/fa9b4b6031ba09e/output.txt Total script time: 29.40 mins
|
No description provided.