Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upmacOS support #76
macOS support #76
Conversation
googlebot
commented
Nov 3, 2017
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). Once you've signed, please reply here (e.g.
|
googlebot
commented
Nov 3, 2017
|
CLAs look good, thanks! |
31fe629
to
87f8993
| @@ -42,6 +44,44 @@ | |||
| #error Must define DMLAB_SO_LOCATION dynamic library path. | |||
| #endif | |||
|
|
|||
| #ifdef __APPLE__ | |||
| ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count) | |||
This comment has been minimized.
This comment has been minimized.
tkoeppe
Oct 12, 2018
Collaborator
sendfile is available on BSD/MacOSX as well, e.g. https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/sendfile.2.html. It might have a slightly different signature than on Linux, but we shouldn't need to reimplement it.
|
Hi! Are you still interested in this? I've put together a few smaller changes in the |
didzis commentedNov 3, 2017
Adds macOS support remaining compatible with other platforms, i.e., intended to be merged with master branch. Works for all three modes: non-headless, headless with hardware acceleration and headless with software rendering. Build instructions found in
docs/build_macos.md. This addresses #7, #39 and possibly #22.