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

is_multicore Releases.v5_0_0 is false! #59

Open
talex5 opened this issue Feb 3, 2023 · 4 comments
Open

is_multicore Releases.v5_0_0 is false! #59

talex5 opened this issue Feb 3, 2023 · 4 comments

Comments

@talex5
Copy link
Contributor

talex5 commented Feb 3, 2023

ocaml-version claims that 5.0.0 isn't multicore:

utop # Ocaml_version.(Configure_options.is_multicore Releases.v5_0_0);;
- : bool = false

This is causing CI to fail (e.g. mirage/mirage-crypto#169 (comment)).

@dra27
Copy link
Contributor

dra27 commented Feb 3, 2023

cf. #58 (comment). There's an open question as to what this function means for 5.x. In the past, it was referring to if there was a multicore variant of OCaml, but OCaml 5.x is multicore.

@talex5
Copy link
Contributor Author

talex5 commented Feb 4, 2023

The doc comment says:

(** [is_multicore t] is [true] if this version is a multicore-capable release. *)

Releases.v5_0_0 is surely a multicore-capable release.

@dra27
Copy link
Contributor

dra27 commented Feb 5, 2023

Yes, indeed - I'm not arguing, it's just that the function isn't actually used that way (even in ocaml-version - see later in the opam package selection) so it's just not an instantly obvious fix (I thought there was a workaround for this in ocaml-ci in progress?)

@tmcgilchrist
Copy link
Member

tmcgilchrist commented Feb 6, 2023 via email

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

No branches or pull requests

3 participants