Using conda, I can not seem to build gcc-5 (or any gcc-X version) recipe on MacOS Mojave:
git clone git@github.com:conda/conda-recipes.git
Which in a nut shell means:
macos_min_version:
- 10.9
macos_machine:
- x86_64-apple-darwin13.4.0
MACOSX_DEPLOYMENT_TARGET:
- 10.9
CONDA_BUILD_SYSROOT: # [osx]
- /opt/MacOSX10.9.sdk # [osx]
conda_build:
config_file: ~/.conda/conda_build_config.yaml
cd conda-recipes
conda build gcc-5 -c conda-forge
The above build fails. Pointing at atomic headers in Xcode. My assumption, is that Xcode 10.2.x is too new to build such an old gcc compiler? I have also tried to build my own conda gcc-9 recipe, but fail with missing images (dylibs not found/loaded). So I guess my real question, is what do folks do to build gcc-X using conda build? I can build GCC 9.2.0 manually on my own. But I wish to know how to properly do it using conda build.
Note to Stackoverflow guys: I think this question should be asked on SuperUser, but there is no tag 'conda'. Everyone seems to be posting conda questions here...
coda-recipes is deprecated, see README.md, conda-forge is the replacement.
On conda-forge, check out clangdev-feedstock.