-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
adding fortran support to win version - try 2 #213
base: main
Are you sure you want to change the base?
Conversation
…nda-forge-pinning 2023.11.02.10.11.59
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@hmaarrfk I hit an issue which is not related to hdf5 but |
recipe/meta.yaml
Outdated
|
||
requirements: | ||
build: | ||
- gnuconfig # [unix] | ||
- {{ compiler('c') }} | ||
- {{ compiler('cxx') }} | ||
- {{ compiler('fortran') }} # [not win] | ||
- {{ compiler('m2w64_c') }} # [win] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this. what does netcdf4-fortran do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
netcdf-fortran is built with C and Fortran MinGW compilers and VS to link shared lib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I try without at beginning but it failed
@hmaarrfk I request your help from now.. I'm not a dev guy and I don't know how to fix the build error which seems not related to adding fortran... |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)Switch to MinGW compilers for fortran support and use CMAKE_GNUtoMS (inspired from https://github.com/conda-forge/netcdf-fortran-feedstock/blob/main/recipe/bld.bat)