Hood Chatham
Hood Chatham
Well sure. I really meant that it's faster with a lock file.
> pyodide.globals.get("x").get((0, 0)) In Javascript, if you say `f((0,0))` then `f` actually receives a single `0` as an argument so that isn't available as a syntax, but it'd be possible...
They are building ujson for Pyodide, see added file `packages/ujson/meta.yaml`.
Yes we should add `then`, `catch`, and `finally_` methods to the `Future`.
You certainly shouldn't be setting `library: true` because that's for static libraries. We might need to expand the build system a bit for this one. You could hypothetically build `libjax`...
So there are quite a few layers of junk. The innermost layer is here: https://github.com/pyodide/pyodide/blob/d3544a06a852f72c6a4343ece46625456cccc2e8/pyodide-build/pyodide_build/pypabuild.py#L97 The `with replace_env(build_env)` substitutes environment variables so that 1) when the compiler tools are invoked,...
It should be build_env, I'm not sure why it's missing PYWASMCROSS_ARGS. Could you push what you've done to a branch so I can look at it?
But maybe I should just make a branch adding a meta.yaml key for you and then you won't have to worry about mucking with internals.
Hmmm yeah I don't know why you are getting the no PYWASMCROSS_ARGS error then it's assigned here: https://github.com/pyodide/pyodide/blob/a47e9085b8b5d53413bfadd95fbc9e2a24a1ccc0/pyodide-build/pyodide_build/pywasmcross.py#L108 If it's inside of `with replace_env` you shouldn't need to pass the...
Yeah... build systems are complicated...