GMLC-TDC / HELICS

Hierarchical Engine for Large-scale Infrastructure Co-Simulation (HELICS)
https://docs.helics.org/en/latest/
BSD 3-Clause "New" or "Revised" License
127 stars 41 forks source link

Mac builds failing on develop and master #381

Closed phlptp closed 6 years ago

phlptp commented 6 years ago

Looks like the mac builds are failing to build the java and python for some reason, we probably should get this fixed.

failed job

nightlark commented 6 years ago

I think the Java tests are failing because the Python wrapper isn't compiling, which happens before the Java tests are compiled.

kdheepak commented 6 years ago

It is failing because it is not able to find Python.h in the includes.

/Users/travis/build/GMLC-TDC/HELICS-src/build/swig/python/helicsPythonPYTHON_wrap.c:149:11: fatal error: 'Python.h' file not found
# include <Python.h>
          ^
1 error generated.
make[2]: *** [swig/python/CMakeFiles/_helics.dir/helicsPythonPYTHON_wrap.c.o] Error 1
make[1]: *** [swig/python/CMakeFiles/_helics.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] Built target helics_broker

Was something changed?

kdheepak commented 6 years ago

This builds fine on my mac btw, so this seems like a Travis specific issue.

nightlark commented 6 years ago

It's a homebrew issue. And a new minor version of Python was released issue.