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#75mdboom wants to merge 3 commits intopyodide:masterfrom mdboom:scipy
mdboom wants to merge 3 commits intopyodide:masterfrom
mdboom:scipy
Conversation
Closed
Merged
Member
|
Closing in favor of #211 that includes these commits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
pywasmcrossconvert native calls togfortranto calls tof2c(a FORTRAN-to-C compiler) followed by calls toemcc(the emscripten C compiler). This requires havingf2cinstalled (which I just installed from its Fedora package -- Debian should be similar).This requires the
f2cruntime 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 ofemsdk), and then adjust the path inmeta.yamlhere 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).