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:
cc1 -quiet -v ...
x86_64-apple-darwin13.4.0-gfortran: error trying to exec 'cc1': execvp: No such file or directory
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:
$ x86_64-conda_cos6-linux-gnu-gcc -print-prog-name=cc1
/opt/conda/bin/../libexec/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/cc1
but on mac, it doesn't find cc1:
$ x86_64-apple-darwin13.4.0-gfortran -print-prog-name=cc1
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.
CMake runs:
to determine certain flag support (
-isysrootcame 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.