-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add FreeBSD support #12
base: main
Are you sure you want to change the base?
Conversation
4ad91c9
to
b2567ca
Compare
bae20c1
to
0c69645
Compare
62158a3
to
80ce079
Compare
Mostly ready but need a 1.4.1 tag in swift-system to pull in FreeBSD fixes, and would also like to wait for swiftlang/swift#77836 to be merged so xattrs will work. |
Sources/SWBUtil/FSProxy.swift
Outdated
@@ -758,7 +758,7 @@ class LocalFS: FSProxy, @unchecked Sendable { | |||
} | |||
|
|||
func listExtendedAttributes(_ path: Path) throws -> [String] { | |||
#if os(Windows) | |||
#if os(Windows) || os(FreeBSD) // FreeBSD blocked on https://github.com/swiftlang/swift/pull/77836 |
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.
note to self: might as well add !OpenBSD before merging this as OpenBSD is known to have explicitly removed support for xattrs.
134bea2
to
1acc641
Compare
This allows building Swift Build for FreeBSD hosts, as well as building for a FreeBSD target from a FreeBSD host.
1acc641
to
01bfd23
Compare
This allows building Swift Build for FreeBSD hosts, as well as building for a FreeBSD target from a FreeBSD host.
Closes #1