Use GCC instead of Clang on OSX to match ipopt includes.
@@ -16,12 +16,14 @@ build:
# TODO: Once ipopt is available for Windows in conda forge, remove the
# following line.
skip: True # [win]
- script: python setup.py install --single-version-externally-managed --record record.txt
+ # NOTE : Set CC to force gcc on OSX.
+ script: CC=gcc python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
- toolchain
- - pkg-config
+ - gcc
+ - pkg-config # [osx]
- python
- ipopt
- setuptools
@@ -29,8 +31,8 @@ requirements:
- numpy # [not py36]
# NOTE : During the build stage NumPy 1.9.3 is downloaded instead of the
# latest version. Since there is no NumPy 1.9.3 package for Python 3.6 in
- # defaults or conda-forge, this causes the build to fail. This forces a
- # newer version to be used.
+ # defaults or conda-forge, this causes the build to fail. The following
+ # forces a newer version to be used.
- numpy >=1.11 # [py36]
- scipy
- six
