-
Notifications
You must be signed in to change notification settings - Fork 0
Explicitly set HAVE_IOCTLSOCKET_FIONBIO=1 #30
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
Conversation
darinf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this whole workflow is windows specific, so LGTM!
|
Interesting; would you happen to have the logs to see why it is suddenly failing? I wonder if this is a CMake regression or something else. |
Sure, pretty much any of these logs: https://github.com/thebrowsercompany/firebase-cpp-sdk/actions/workflows/bcny-firebase.yml?query=is:failure. The failure is very consistent: |
|
Sorry, I meant the CMake configure logs that indicate why the test for the |
Oh, no I do not have those. I have not been able to find any meaningful difference in the cmake logs yet when I look at the upstream builds vs our own. |
|
That is odd, I would expect it to have the full log of why the test program failed which would help us understand what is going on. Do you have copies of them on hand? |
Possibly! But I am not sure what files you are looking for: Are these logs that are separate from what is already printed in the cmake configure step from the Github workflow run? |
|
Yes, the logs are in CMakeError.txt and CMakeOutput.txt in the output directory IIRC or something along those lines. |
Ah I see. I can try to generate these and share; We should merge this in the meantime to unblock @darinf first: Earlier I gave up trying to get this to build locally: my development machine doesn't have the necessary dependencies and some setup is needed - it fails before we get to this |
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Co-authored-by: kendal <kendal@thebrowser.company>
Description
Adds a new CMake
HAVE_IOCTLSOCKET_FIONBIOdefine that allowscurlto build (link to definition). When this is not set, we hit the "no non-blocking..." error at the bottom of that file.This is not a permanent solution but the build has been broken for several weeks and this should unblock us while we debug. It is a workaround because this define should be set automatically when building curl and this does not seem to be an issue for the upstream
firebase/firebase-cpp-sdkbuilds which means we have a bug somewhere.This should also help us roll out avx2 support again.
Testing
See workflow runs at:
https://github.com/thebrowsercompany/firebase-cpp-sdk/actions?query=branch:kendal/sync-this-fork
Type of Change
Place an
xthe applicable box: