-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
gfortran --help -v is missing cc1 #11
gfortran --help -v is missing cc1 #11
Comments
A similar issue has showed up in conda-forge/staged-recipes#10569. There is a hack there which is hopefully enough to allow someone to fix this feedstock (sorry, too little time at the moment to do it myself). Copying over a summary from conda-forge/staged-recipes#10569:
|
We probably should patch the underlying build of gfortran, but this will take time to locate and fix I suspect. |
@isuruf Any hints on where this should be patched? I am grepping the code but not finding much. |
Unfortunately, it looks like the hack is "Drop support for OSX". Anyone got any more ideas on this? |
My (I think still working) solution to this is:
|
Thanks, that seems a reasonable workaround |
Thanks @jaimergp! I assume that somewhere in the gfortran source code or the configuration we pass to it the flags are set or computed. If we can find that location, we can patch the build or set our input flags correctly. |
* add macos build * don't link librt (does not exist on macos) * add link option to fix link problem using CFLAGS_FORGA workaround for conda-forge/gfortran_osx-64-feedstock#11 (comment) * add patch to fix detection of gfortran version * MNT: Re-rendered with conda-build 3.21.4, conda-smithy 3.10.1, and conda-forge-pinning 2021.05.18.06.34.34 Co-authored-by: conda-forge-linter <[email protected]> Co-authored-by: Edoardo Aprà <[email protected]>
Issue:
I am trying to build this recipe (conda-forge/ambertools-feedstock#16) using CMake and it's working perfectly in Linux (both 64 and PowerPC), but fails in OSX. The main problem is the same exact situation described in this other issue (AnacondaRecipes/aggregate#112). In other words, CMake fails to configure
gfortran
with-isysroot
because$FC --help -v
fails due to the missingcc1
binary (available in the Linux builds throughgcc
, I guess).Are there any workarounds or suggestions to fix this behavior?
Thanks!
Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: