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
[osx] - add support for Xcode 8 #10530
Conversation
… no (those are only available in 10.12 runtime but get falsly detected with 10.12 sdk)
…e it to not use getentropy aswell on osx
sorry, updated to sierra yesterday |
Sure, mention-bot, I'm totally the king of xcode :) |
@koying maybe you did something in depends configura.ac at some point ;) |
also on sierra already |
if test "@platform_os@" = "osx" ; then | ||
# Xcode 8 + 10.11, clock_gettime and getentropy is present | ||
# in 10.12 but will get wrongly detected if building on 10.11 | ||
ac_cv_search_clock_gettime=no |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
I'm on el capitan but can't test it before tomorrow. |
Well since i need this now that i have updated to xcode8 - lets ask jenkins build this please anyway and if @xhaggi has some sparetime left to test this in the next days - glad to have another ok (beside that building with xcode8 on 10.11 is only intermediate as most people will switch to sierra, when 12.1 comes out latest :) ). |
just a note, a build/run on sierra without this should work, but run that same build on el capitan and below and it will fail to run because of missing symbols. |
yep that makes sense too :) |
Fails for me with xcode7 on 10.11:
|
@fetzerch thx will look into it tomorrow :) |
Travis CI seems to support XCode 8 too, at least according to https://docs.travis-ci.com/user/osx-ci-environment/. Might be worth updating |
@Jalle19 i don't see that travis builds for osx at all. So its not done just by "updating" something. No time to dive into travis-ci to add osx support to it. |
Oh, I was mistaken since we do that for binary addons. |
…ce it to not use get_clocktime on osx
jenkins had the same issue @fetzerch and i was able to reproduce aswell. PR updated - new testbuild succeeded: |
looks good here as well |
This allows compiling with Xcode8 on either OSX 10.11 (El Capitan) or macOS 10.12 (Sierra).
thx @davilla for giving a hand.
@ksooo if you are still on el capitan - might want to test this out?