Closed wolfv closed 2 months ago
often a missing -sWASM_BIGINT
give erros like "imported function does not match the expected type" @wolfv
From version 3.9.0 Matplotlib switched to using meson
, and I think more changes are required here for this. For example, there is no setupext.py
any more, and it probably needs a meson cross-compilation file (as other meson
-using packages do here). I have a WIP branch https://github.com/emscripten-forge/recipes/tree/matplotlib_3.9.0 that builds but fails the tests (probably because the build is wrong), and you are welcome to take any of that to use here.
Thanks @DerThorsten - with WASM_BIGINT it seems to work like a charm (for the two things I tested at least). Screenshot attached.
3D triangulation stuff also seems to work?!
3D triangulation stuff also seems to work?!
nice! Is this ready for review/merging?
I think so! :)
Although I think it can be simplified some more ...
Ok, so I spent a little time on simplifications but it didn't completely pan out.
I tried to remove numpy
and pybind11
from the build
dependencies.
Instead we configure the location in the meson cross file.
But note: the cross-python package does some magic upon activation (it moves all headers and shared objects in the $BUILD_PREFIX
). So the "final" location of the numpy include dir is still in the $BUILD_PREFIX).
Adding qhull seemed pretty easy. Matplotlib - unfortunately - does not seem to work yet in Jupyterlite.
The error I am getting is: