-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Is it supported to build zlib-ng on emscripten for webassembly? #1758
Comments
We do run emscripten in our CI, so if you can figure out what you are doing differently to cause it to crash that would be a good first step. zlib-ng/.github/workflows/cmake.yml Lines 452 to 455 in d54e376
|
wasm-vips has been using zlib-ng since its initial release without any issues. |
I'm experiencing issues getting v2.07 (used by c-blosc2) to compile with target of wasm32 emscripten.
I've referenced the CI workflow here and tried to set the cmake args with no effect; maybe I'm doing something silly, any tips are appreciated. :) Full traceback
Edit: I see now, if I set list(APPEND ZLIB_ARCH_HDRS ${ARCHDIR}/x86.h)
list(APPEND ZLIB_ARCH_SRCS ${ARCHDIR}/x86.c) Line 798 in a583e21
|
@milesgranger |
@milesgranger were you able to get it working? |
Yes, c-blosc2 is on v2.0.7 so |
Currently it crashes here on our side, when we try a compiled version. Not sure, it our compilation is correct though. So are there any experiences, that it should run on webassembly?
The text was updated successfully, but these errors were encountered: