Skip to content

Initial Fortran infrastructure #131

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

Merged
merged 11 commits into from
Jul 21, 2020
Merged

Initial Fortran infrastructure #131

merged 11 commits into from
Jul 21, 2020

Conversation

certik
Copy link
Member

@certik certik commented Jul 21, 2020

This PR moves the Haskell version into a bootstrap directory and creates a new fpm package called fpm, which is the Fortran based fpm. For now the Fortran fpm is just the default "new" template, but I modified the print statement. The important part is that it is tested by the CI to build and run on all platforms (Linux, macOS and Windows). This provides the initial infrastructure needed so that others can now start working on the Fortran based fpm, and things will get tested by the CI. Once this is merged, we can send subsequent PRs to depend on other Fortran fpm packages for command line, internet access etc., and slowly start building the functionality that we need.

Plan for this PR:

  • Move Haskell based version to a dedicated directory (CI test still builds and tests this version)
  • Add initial Fortran version as an fpm package
    • Make CI test to build the Fortran version using the Haskell version

Everything that I wanted to get done is implemented. This is ready for review.

Fixes #124.

@certik
Copy link
Member Author

certik commented Jul 21, 2020

The macOS failure is unrelated (#134).

@certik certik changed the title WIP: Initial Fortran infrastructure Initial Fortran infrastructure Jul 21, 2020
@certik
Copy link
Member Author

certik commented Jul 21, 2020

The CI gave me a lot of issues today, but I finally got everything building and passing on all platforms. This is ready for review.

Copy link
Member

@everythingfunctional everythingfunctional left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for getting this working. It looks good for now.

@certik
Copy link
Member Author

certik commented Jul 21, 2020

Thanks @everythingfunctional for the review. If it looks good to you, then I am going to go ahead and merge this, so that we can start improving various parts of this in subsequent PRs.

@certik certik merged commit 2dcd2df into fortran-lang:master Jul 21, 2020
@certik certik deleted the f branch July 21, 2020 19:29
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.

Create the infrastructure for the Fortran version
2 participants