Skip to content
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] Improve support for static linking. #1807

Merged
merged 2 commits into from
Mar 26, 2019

Conversation

kumpera
Copy link
Collaborator

@kumpera kumpera commented Mar 22, 2019

On OSX, it's not possible to statically link against system libraries as they are closed source and Apple doesn't provide .a versions of them.

So we do the best thing we can given those constraints. We fix the build and eliminate all dependencies we can.
The resulting binaries should work on factory reset OSX machines, which is as good as we can aim for.

On OSX, it's not possible to statically link against system libraries as they are closed source and Apple doesn't provide `.a` versions of them.

So we do the best thing we can given those constraints. We fix the build and eliminate all dependencies we can.
The resulting binaries should work on factory reset OSX machines, which is as good as we can aim for.
@kumpera
Copy link
Collaborator Author

kumpera commented Mar 22, 2019

This fixes #1749

We must update the wiki page to include brew install zlib on the OSX instructions if this is merged.

Copy link
Member

@jackgerrits jackgerrits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me!

@jackgerrits jackgerrits merged commit e2ae576 into VowpalWabbit:master Mar 26, 2019
jackgerrits pushed a commit to jackgerrits/vowpal_wabbit that referenced this pull request May 15, 2019
On OSX, it's not possible to statically link against system libraries as they are closed source and Apple doesn't provide `.a` versions of them.

So we do the best thing we can given those constraints. We fix the build and eliminate all dependencies we can.
The resulting binaries should work on factory reset OSX machines, which is as good as we can aim for.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants