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

Add fcntl OFD commands for macOS #3563

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

anacrolix
Copy link
Contributor

@anacrolix anacrolix commented Jan 27, 2024

I also followed all the PR instructions and sorted the semver for apple.

@rustbot
Copy link
Collaborator

rustbot commented Jan 27, 2024

r? @JohnTitor

(rustbot has picked a reviewer for you, use r? to override)

@anacrolix
Copy link
Contributor Author

So I noticed that the tests run on macos-13, and macos-14 is available (possibly needed for the OFD feature, despite the constants being 4 years old according to the kernel changelog), and also that the tests only run on Intel chips. I do not think it would be too much work to add aarch64 to the macos testing (assuming GitHub has a runner for this).

@JohnTitor
Copy link
Member

Could you rebase onto the latest main and squash commits into one?

@anacrolix
Copy link
Contributor Author

Yes, I'll do that soon, thanks.

@anacrolix
Copy link
Contributor Author

Okay, I've done that. It's extraordinarily painful, any reason you can't squash on merge?

@anacrolix
Copy link
Contributor Author

I don't think my change caused the macOS CI failure, I'm not sure what to do about that one.

@JohnTitor
Copy link
Member

I don't think my change caused the macOS CI failure, I'm not sure what to do about that one.

You updated the macOS version and it introduced some breaking changes, you have to account for that.

Okay, I've done that. It's extraordinarily painful, any reason you can't squash on merge?

We use the merge queue and it doesn't allow me to select the merge method sadly.

@anacrolix
Copy link
Contributor Author

It'll take someone more knowledgable about macos to fix this I think. I didn't find anything straightforward to resolve it.

@anacrolix
Copy link
Contributor Author

I found #3575 but it's mysteriously closed.

devnexen and others added 2 commits February 18, 2024 13:22
- CI only for macOs arm64.
- Fixing build issues for macOs arm64.
- Adding macos cpu to arch api.
Obey shellcheck
ci/style.sh should be executable
Define PRIVATE on apple to expose OFD commands
Require macos-14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants