From acd623e755cd946295aa8230a6f7eca1d4920483 Mon Sep 17 00:00:00 2001 From: David Allsopp Date: Fri, 20 Jan 2023 17:44:55 +0000 Subject: [PATCH] OCaml 5+ is a multicore release --- service/service.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service/service.ml b/service/service.ml index 82791e9..836708c 100644 --- a/service/service.ml +++ b/service/service.ml @@ -113,7 +113,8 @@ module Make (Opam_repo : Opam_repository_intf.S) = struct Ocaml_version.of_string_exn (OpamPackage.Version.to_string ocaml_version) in - Ocaml_version.Configure_options.is_multicore v + Ocaml_version.compare v Ocaml_version.Releases.v5_0_0 >= 0 + || Ocaml_version.Configure_options.is_multicore v (* If a local package has a literal constraint on OCaml's version and it doesn't match the platform, we just remove that package from the set to test, so other packages