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 ocaml dependency to rusage #26615

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

Leonidas-from-XIV
Copy link
Contributor

@Leonidas-from-XIV Leonidas-from-XIV commented Sep 25, 2024

Compiling rusage requires an OCaml compiler, thus this PR adds that dependency.

The reasoning is the same as for #26610.

Upstream PR here: craigfe/ocaml-rusage#3

Compiling rusage requires an OCaml compiler, thus this PR adds that
dependency.
@Leonidas-from-XIV
Copy link
Contributor Author

Also includes a license field with the value taken from the LICENSE file in the upstream repo to make the linter happy.

@mseri
Copy link
Member

mseri commented Sep 25, 2024

Thanks, looks like it compiles with all ocaml version in the CI

@mseri mseri merged commit 84c625d into ocaml:master Sep 25, 2024
1 of 3 checks passed
@Leonidas-from-XIV Leonidas-from-XIV deleted the rusage-ocaml-dependency branch September 25, 2024 12:56
@Leonidas-from-XIV
Copy link
Contributor Author

Yes, I was positively surprised I didn't need any constraints at all. It doesn't seem to work on Windows which is probably unsurprising, given it's some POSIX call and there's only limited support on Windows. Thanks for merging.

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