From db0c7a01be21e550d0c11ed2f3b6b9c0fb675685 Mon Sep 17 00:00:00 2001 From: Carine Morel Date: Wed, 4 Dec 2024 14:41:42 +0100 Subject: [PATCH] Change deps on OCaml version to avoid ocaml >= 5.0.0 and < 5.2.0 --- dune-project | 2 +- saturn.opam | 2 +- src/saturn.mli | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/dune-project b/dune-project index de728b25..ce1c5c95 100644 --- a/dune-project +++ b/dune-project @@ -13,7 +13,7 @@ (name saturn) (synopsis "Collection of concurent-safe data structures for Multicore OCaml") (depends - (ocaml (>= 4.14)) + (ocaml (or (and (>= 4.14) (< 5.0.0)) (>= 5.2.0))) (backoff (>= 0.1.1)) (multicore-magic (>= 2.3.0)) (alcotest (and (>= 1.7.0) :with-test)) diff --git a/saturn.opam b/saturn.opam index 04e7e293..ce03373b 100644 --- a/saturn.opam +++ b/saturn.opam @@ -9,7 +9,7 @@ doc: "https://ocaml-multicore.github.io/saturn/" bug-reports: "https://github.com/ocaml-multicore/saturn/issues" depends: [ "dune" {>= "3.14"} - "ocaml" {>= "4.14"} + "ocaml" {>= "4.14" & < "5.0.0" | >= "5.2.0"} "backoff" {>= "0.1.1"} "multicore-magic" {>= "2.3.0"} "alcotest" {>= "1.7.0" & with-test} diff --git a/src/saturn.mli b/src/saturn.mli index 55f63002..f084cc04 100644 --- a/src/saturn.mli +++ b/src/saturn.mli @@ -26,7 +26,7 @@ Copyright (c) 2017, Nicolas ASSOUAD ######## *) -(** Lock-free data structures for Multicore OCaml *) +(** Concurrent-safe data structures for Multicore OCaml. *) (** {1 Data structures} *) @@ -41,7 +41,10 @@ module Single_prod_single_cons_queue = Spsc_queue module Single_prod_single_cons_queue_unsafe = Spsc_queue_unsafe module Single_consumer_queue = Mpsc_queue module Skiplist = Skiplist -module Size = Size module Htbl = Htbl module Htbl_unsafe = Htbl_unsafe module Bag = Bag + +(** {1 Tools} *) + +module Size = Size