From: Benjamin via Guix-patches via <guix-patches@gnu.org>
To: 72107@debbugs.gnu.org
Cc: Benjamin <benjamin@uvy.fr>, Julien Lepiller <julien@lepiller.eu>,
pukkamustard <pukkamustard@posteo.net>
Subject: [bug#72107] [PATCH 4/5] gnu: Add ocaml-domain-local-await.
Date: Sun, 14 Jul 2024 13:49:51 +0200 [thread overview]
Message-ID: <a7b7a151b30bef7438e7e8c5671e5f99da910780.1720956786.git.benjamin@uvy.fr> (raw)
In-Reply-To: <cover.1720956786.git.benjamin@uvy.fr>
* gnu/packages/ocaml.scm (ocaml-domain-local-await): New variable.
Change-Id: I8ae010390f4aacfaa4c82f4ec18cbf5480595120
---
gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index fdeec8f2a1..0660c3d3d4 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3180,6 +3180,30 @@ (define-public ocaml-domain-schims
OCaml 5 using the Domain module under OCaml 4")
(license license:expat)))
+(define-public ocaml-domain-local-await
+ (package
+ (name "ocaml-domain-local-await")
+ (version "1.0.1")
+ (home-page "https://github.com/ocaml-multicore/domain-local-await")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256 (base32
+ "0h60sxzd9p14ilpg004d47y3zd89pswffr0wvqa9cykpn8qgdfcm"))))
+ (build-system dune-build-system)
+ (arguments `(#:package "domain-local-await"))
+ (propagated-inputs (list ocaml-thread-table))
+ (native-inputs (list ocaml-odoc ocaml-domain-schims ocaml-version ocaml-mdx ocaml-alcotest))
+ (synopsis "A scheduler independent blocking mechanism")
+ (description "Ocaml library implementing a scheduler independent blocking
+mechanism. It provides a low level mechanism intended for writing higher level
+libraries that need to block in a scheduler friendly manner.")
+ (license license:isc)))
+
(define ocaml-eio
(package
(name "ocaml-eio")
--
2.45.2
next prev parent reply other threads:[~2024-07-14 11:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-14 11:44 [bug#72107] [PATCH 0/5] gnu: ocaml-eio: Update to 0.12 Benjamin via Guix-patches via
2024-07-14 11:49 ` [bug#72107] [PATCH 1/5] gnu: ocaml-mdx: Update to 2.4.1 Benjamin via Guix-patches via
2024-07-14 11:49 ` [bug#72107] [PATCH 2/5] gnu: Add ocaml-thread-table Benjamin via Guix-patches via
2024-07-14 11:49 ` [bug#72107] [PATCH 3/5] gnu: Add ocaml-domain-schims Benjamin via Guix-patches via
2024-07-14 11:49 ` Benjamin via Guix-patches via [this message]
2024-07-14 11:49 ` [bug#72107] [PATCH 5/5] gnu: ocaml-eio: Update to 0.12 Benjamin via Guix-patches via
2024-07-26 23:58 ` [bug#72107] [PATCH 0/5] " jgart via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a7b7a151b30bef7438e7e8c5671e5f99da910780.1720956786.git.benjamin@uvy.fr \
--to=guix-patches@gnu.org \
--cc=72107@debbugs.gnu.org \
--cc=benjamin@uvy.fr \
--cc=julien@lepiller.eu \
--cc=pukkamustard@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).