-
Notifications
You must be signed in to change notification settings - Fork 43
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
mac gfortran needs and cannot find cc1 #112
Comments
seems like maybe |
Yeah, probably. PRs welcome, gfortran is basically the same on conda-forge as it is on defaults. If you make a PR there then I will rebase on top of that. Otherwise you'll need to add Cheers! |
Hey @minrk, did you get to solve this problem? I am seeing this exact situation in conda-forge/ambertools-feedstock#16 for MacOS, even with the C compiler in the requirements. Any suggestions or workarounds? Thanks! |
The workaround for netcdf was to explicitly add sysroot: if [[ $(uname) == Darwin ]]; then
export FFLAGS="-isysroot $CONDA_BUILD_SYSROOT $FFLAGS"
fi |
Thanks for your answer! Yes, I have that line present too, but doesn't seem to have much on an effect :/ I guess there's something wrong with the upstream package itself. Thanks again for your help! |
CMake runs:
to determine certain flag support (
-isysroot
came up in conda-forge/netcdf-fortran-feedstock#28). However, running this with the conda gfortran on mac fails with:causing cmake to misconfigure the gfortran compiler (omitting -isysroot in the above case).
Googling around suggests that this command should succeed, which it does on linux:
but on mac, it doesn't find cc1:
I'm not sure if there's a missing file, dependency, patch, or environment variable needed for finding cc1, but something appears to be missing.
The text was updated successfully, but these errors were encountered: