Skip to content

[stdlib][cmake] OpenBSD target requires -lpthread. #32176

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

Merged

Conversation

3405691582
Copy link
Member

Like FreeBSD, OpenBSD needs -lpthread for a target link. This is
necessary to get the swift-reflection-test to link and build correctly.

Like FreeBSD, OpenBSD needs -lpthread for a target link. This is
necessary to get the swift-reflection-test to link and build correctly.
@gribozavr
Copy link
Contributor

@swift-ci Please test

@lin7sh
Copy link

lin7sh commented Jun 4, 2020

Have you manage to build swift on ether FreeBSD or OpenBSD?

@3405691582
Copy link
Member Author

Yes, but there are a few more changes to upstream and caveats before Swift builds on OpenBSD out of the box.

@compnerd compnerd merged commit a813610 into swiftlang:master Jun 4, 2020
@lin7sh
Copy link

lin7sh commented Jun 6, 2020

@3405691582 that's awesome. Could you provide a instruction of building on FreeBSD? I could make a port for it, so it's easier for others.

@3405691582
Copy link
Member Author

Let's avoid unrelated comments and notifications on the PR. Feel free to look through my commit history; I will document everything when things are more closer to being complete.

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.

4 participants