Skip to content

Conversation

@LKedward
Copy link
Member

@LKedward LKedward commented Sep 27, 2020

  • Adds support for local path dependencies and remote git dependencies

  • Fortran fpm can now build the hello_fpm, circular_test and circular_example example packages

Adds recursive source discovery for local path dependencies
Now supported with local dev-dependencies
Local dependency paths are relative to the dependent package not the building package.
@certik
Copy link
Member

certik commented Sep 28, 2020

This looks great. Thanks!

Let's finish #190 soon, so that we can build upon it.

There's a bug which causes app-local modules to be added twice if auto-discovery is on and the app is specified in the manifest. This causes the module to be compiled and linked twice. Not detected before because the module contained no symbols. This commit adds an integer symbol to an app-local module to test this bug.
Demonstrates bug in include statement parsing - currently erroneously parsing all statements that begin with 'include'.
Include statements must have a single or double quote immediately following 'include'
Demonstrates bug in include statement parsing - currently erroneously parsing all statements that begin with 'include'.
Include statements must have a single or double quote immediately following 'include'
@LKedward LKedward changed the title Local path dependencies Local path and remote git dependencies Oct 3, 2020
@LKedward LKedward marked this pull request as ready for review October 3, 2020 13:48
Copy link
Member

@milancurcic milancurcic left a comment

Choose a reason for hiding this comment

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

Looks great!

Copy link
Member

@awvwgk awvwgk left a comment

Choose a reason for hiding this comment

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

Nicely done. I'm glad to see fpm can build itself again.

@LKedward
Copy link
Member Author

Many thanks for the reviews - with three approvals I will merge later today if there are no objections.

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.

system call to git(1) as a preliminary remote dependency method for Fortran fpm?

5 participants