Skip to content

Comments

WIP: Initial steps toward Scipy support#75

Closed
mdboom wants to merge 3 commits intopyodide:masterfrom
mdboom:scipy
Closed

WIP: Initial steps toward Scipy support#75
mdboom wants to merge 3 commits intopyodide:masterfrom
mdboom:scipy

Conversation

@mdboom
Copy link
Collaborator

@mdboom mdboom commented Jul 18, 2018

This PR is not intended to be merged. It's just a convenient way to communicate work already done to @rngadam.

Make sure you've read https://github.com/iodide-project/pyodide/blob/master/docs/new_packages.md for any of this to make sense.

The main change here is for FORTRAN support. The changes to pywasmcross convert native calls to gfortran to calls to f2c (a FORTRAN-to-C compiler) followed by calls to emcc (the emscripten C compiler). This requires having f2c installed (which I just installed from its Fedora package -- Debian should be similar).

This requires the f2c runtime library compiled to WebAssembly. Fortunately, someone else has already done that here: https://github.com/adrianbg/CLAPACK-WA You'll want to download and compile that (using pyodide's fork of emsdk), and then adjust the path in meta.yaml here to point to that. (Eventually, that should be done automatically as part of the Pyodide build, I just haven't gotten around to that yet).

@mdboom mdboom mentioned this pull request Jul 18, 2018
@mdboom mdboom mentioned this pull request Sep 5, 2018
4 tasks
@rth rth mentioned this pull request Oct 5, 2018
@rth
Copy link
Member

rth commented Oct 26, 2018

Closing in favor of #211 that includes these commits.

@rth rth closed this Oct 26, 2018
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