You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There have been some earlier discussion about building Fortran code in various issues, trying to put together the available information about it here (a number of the below was adapted from @mdboom comments).
There have been some earlier discussion about building Fortran code in various issues, trying to put together the available information about it here (a number of the below was adapted from @mdboom comments).
Currently it's necessary for,
There is some relevant discussion about it in emscripten-core/emscripten#998
The possible solutions are,
There may be some other F90 to C converter (e.g. http://cci.lbl.gov/fable/) that could work.
Apart for Fortran support emscripten-core/emscripten#998, I could not find any information about WASM support in flang (checked the mailing list and issues). Though is some relevant discussion on slack mentioning that flang doesn't support i386 (32 bit architecture) (Please support the i386 architecture flang-compiler/flang#123) while wasm currently is 32-bit only (whether emscripten only supports 32-bit compilation? emscripten-core/emscripten#5485)
Please correct me if I missed something..
So in the short term converting Fortran to C seems the only viable possibility.
cc @jakirkham