Skip to content
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

Update JXL to v0.7.0 #1378

Draft
wants to merge 5 commits into
base: dev
Choose a base branch
from
Draft

Conversation

aryanpingle
Copy link
Contributor

No description provided.

aryanpingle and others added 5 commits September 4, 2023 13:47
Also adds an example.html to codecs/jxl
Compiles successfully
Finishes decoding successfully
Throws an error on returning from WASM to the JS glue code
Commented out lines 247 - 249 in codecs\jxl\node_modules\jxl\CMakeLists.txt
Compiles successfully
WASM decoding finishes successfully
Runs successfully
@aryanpingle aryanpingle changed the title JXL Stuff Update JXL to v0.7.0 Sep 4, 2023
@aryanpingle
Copy link
Contributor Author

This commit in the libjxl repo enables -pthread whenever Emscripten is detected.

On building this version of JXL, our WASM files are generated, the decoder finishes executing correctly (as seen in the console debug statement), but the JS glue code fails with the following error:

Without decode pthread

Commenting out the section in CMakeLists.txt where JXL enables -pthread fixes everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants