Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Jul 2, 2021

Installation process for GFortran on OpenBSD.

Copy link
Member

@LKedward LKedward left a comment

Choose a reason for hiding this comment

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

Thanks Carlos @brocolis - I don't have any experience with OpenBSD, but these changes look good to me.

@ghost
Copy link
Author

ghost commented Jul 3, 2021

Thanks for reviewing it, @LKedward. I have one day of experience with OpenBSD 😸. Today I discovered that we can install GFortran with pkg_add g95, no need to include full version number. I'll update the PR.

Comment on lines +104 to +106
On OpenBSD, the GFortran executable is named `egfortran`. To test it, type:
```bash
egfortran -v
Copy link
Member

@awvwgk awvwgk Jul 3, 2021

Choose a reason for hiding this comment

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

Is this an issue for fpm to discover the right compiler? It probably requires to set --compiler egfortran on every run as well.

Copy link
Author

Choose a reason for hiding this comment

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

@awvwgk, yes, fpm works with --compiler egfortran. export FPM_COMPILER=egfortran also works 👍.

@milancurcic
Copy link
Member

Very nice, thanks @brocolis!

@milancurcic milancurcic merged commit 4eb5627 into fortran-lang:master Jul 8, 2021
@ghost ghost deleted the openbsd branch July 9, 2021 02:10
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.

3 participants