-
Notifications
You must be signed in to change notification settings - Fork 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
Bugfix/windows fortran builds #506
Conversation
@mmuetzel Any thoughts on why the msys toolchain is failing to link with shared libraries still? I do not have a system with msys setup to be able to inspect it easily and it seems like you are more familiar with the MSYS/Windows toolchain than myself. |
@gardner48 this is ready for review now (the shared library MinGW build will fail, but if we dont find a fix shortly I will turn it off for now). |
It looks like Alternatively, symbols could be exported from a Fortran library using ATTRIBUTES.
With these added, I can see that they are exported from the .dll with that change. But iiuc, these attributes are compiler-specific. (I was using What is the motivation for the two step process to create shared libraries? |
…ces with shared libs on msys
It seemed to work with the Intel oneAPI compilers, but not gfortran under MSYS. @gardner48 I have opened #507 to document this problem, and we can address it later on. For now I have disabled the Fortran interfaces in the CI for the MSYS+gfortran+shared toolchain. I think we should go ahead and merge this PR since it resolves several other problems including #67 and the Intel compiler toolchain on Windows. |
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.
Other than keeping the controllers as only object libraries the changes look good.
Fixes various issues related to building Fortran interfaces and examples on Windows
No description provided.