Skip to content

Roadmap for Fortran implementation #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
certik opened this issue Jul 21, 2020 · 4 comments
Closed

Roadmap for Fortran implementation #136

certik opened this issue Jul 21, 2020 · 4 comments

Comments

@certik
Copy link
Member

certik commented Jul 21, 2020

Please see our beta release milestone for the latest roadmap for the Fortran implemetation.

This was discussed recently during the October monthly call (fpm-update-october-2020.pdf)

@milancurcic
Copy link
Member

milancurcic commented Jul 21, 2020

Fortran interface to curl for http requests: https://github.com/interkosmos/fortran-curl

If we end up needing more advanced git stuff than just downloading the code, we can wrap libgit2.

@certik
Copy link
Member Author

certik commented Jul 24, 2020

Per my comment in #149 (comment), it seems all of these can in principle be done in pure Fortran, except the internet download of tarballs. For git repositories, we'll just assume that the git executable is installed, as we already do in haskell fpm. To be able to bootstrap fpm easily, we can just have all dependencies as git repositories and assume git is present on all platforms. Then in principle everything can be done in pure Fortran, which I think might be very helpful at least initially.

Then we can implement robust support for 3rd party non Fortran dependencies in the fortran fpm. Eventually we can then depend on curl or any other library (but if we do for fpm itself, it will always be more challenging to install it from source, say on HPC machines than if every dependency is pure Fortran).

@jacobwilliams
Copy link
Member

FYI...somewhere i have a Fortran interface to WinINet that i wrote years ago. I think it was pretty rudimentary but it could be used to download files (on windows only of course). I can dig that up, but maybe you just want to stick with curl on all platforms?

@awvwgk
Copy link
Member

awvwgk commented Sep 5, 2021

Closing this in favor of the milestone.

@awvwgk awvwgk closed this as completed Sep 5, 2021
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

No branches or pull requests

5 participants