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

Swift build on FreeBSD #209

Open
lin72h opened this issue Jan 31, 2022 · 3 comments
Open

Swift build on FreeBSD #209

lin72h opened this issue Jan 31, 2022 · 3 comments
Labels
hacktoberfest help wanted Extra attention is needed i can haz? New feature or request Swift

Comments

@lin72h
Copy link

lin72h commented Jan 31, 2022

I've been watching airyx for a while, great project, thanks for reviving the NextBSD!

Just found out the Swift on FreeBSD PR has been fixed

swiftlang/swift#38335

hopeful you get swift into your future release

@mszoek
Copy link
Collaborator

mszoek commented Feb 3, 2022

Fixed, but not merged yet. Hopefully soon! I suppose we could build with the patch though.

@mszoek mszoek added i can haz? New feature or request help wanted Extra attention is needed Swift labels Aug 18, 2022
@lin72h
Copy link
Author

lin72h commented Aug 18, 2022

I think we can take a incremental step:

  • make in base libdispatch work PR
    This make use the eventfd which introduced in FreeBSD 13, so it align more to the Linux libdispatch implementation, thus less core need to be changed. Next step could be use the macOS implementation

  • make the CFRunLoop works PR
    This implementation doesn't use Machport, but kqueue, so could be first step to make it work.
    The next step could be implemented using our native MachPort

  • Try to build the Swif 5.7 Version using @erde74 's patch [PR] Fix build on FreeBSD swiftlang/swift#38335 (comment)

@mszoek
Copy link
Collaborator

mszoek commented Aug 18, 2022

Sounds great! Do you want to take a shot at updating libdispatch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest help wanted Extra attention is needed i can haz? New feature or request Swift
Projects
None yet
Development

No branches or pull requests

2 participants