Skip to content

F2py fortran example #32

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 12 commits into from
May 11, 2023
Merged

Conversation

frank1010111
Copy link
Contributor

@frank1010111 frank1010111 commented Mar 4, 2023

Add a sample project with fortran, compiled with f2py run by scikit-build and cmake.

This would close #29.

@frank1010111
Copy link
Contributor Author

Well, it works now, but following the example here does not.

@frank1010111
Copy link
Contributor Author

After bugfixing, this passes on Ubuntu but fails on MacOS because the image does not have a Fortran compiler https://github.com/frank1010111/scikit-build-sample-projects/actions/runs/4355492884. There is a Fortran compiler action which could resolve that in Windows and Mac.

@frank1010111
Copy link
Contributor Author

The example now works for both Mac and Linux.

@itcarroll itcarroll mentioned this pull request Mar 22, 2023
@henryiii henryiii merged commit 52f172a into scikit-build:master May 11, 2023
@henryiii
Copy link
Contributor

Thanks! I moved it to scikit-build-core and went with this over #35 since it avoided the scikit-build only module.

coltonjgerber pushed a commit to coltongerber/pylada-light that referenced this pull request Jul 26, 2024
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.

Add a fortran and f2py example
2 participants