From unknown Fri Sep 19 06:16:18 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43619] [PATCH 1/2] gnu: Add liburing. Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Sep 2020 18:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43619@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160105754722350 (code B ref -1); Fri, 25 Sep 2020 18:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Sep 2020 18:12:27 +0000 Received: from localhost ([127.0.0.1]:45310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLsCo-0005oP-QP for submit@debbugs.gnu.org; Fri, 25 Sep 2020 14:12:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:46764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLsCj-0005oD-Pn for submit@debbugs.gnu.org; Fri, 25 Sep 2020 14:12:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLsCj-0004Fy-Du for guix-patches@gnu.org; Fri, 25 Sep 2020 14:12:21 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:54033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLsCe-0004RL-8Z for guix-patches@gnu.org; Fri, 25 Sep 2020 14:12:21 -0400 Received: by mail-wm1-x32e.google.com with SMTP id x23so3974764wmi.3 for ; Fri, 25 Sep 2020 11:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=yZTxShQ/goYittre0rNirTRdFjHqaLO2HPu0aA4fWX8=; b=JhbmwwlKB9J9zH7cLsRofma3dU8oGGyWmlZVxMkx0WafxP2rmHNV2QZEsTd62eDeGh Hos+NYht5qWjNhzFV6pplmhFWLLrRvkBEYvk9a9jaxO6foSupXD9NqoAJL6bP+0YA6yk zs6FP1XyKmlprhS/EGQMi9zZ6M7PAC1A+D/HIRb9AEKnmCaYxKTYXjrn4UZavEqw8dD+ Xp+IkN5rPXoqu5j5gHZC7nyItNSbYYwlrCupL9BqFyMG/3q6OKugsl/8+Hq7TgAtaHtX chvUkLFCPbujqFB/qDRGdIBYeDVSwF0hR3cDcqXN/XzuPC6oxKchOdCtO7lOczkTgGQ9 0Ivg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yZTxShQ/goYittre0rNirTRdFjHqaLO2HPu0aA4fWX8=; b=Jr+/aElEiL6uNGC2f6QCgVZ9nzb4HGpGS6e7MFhRCQDJLI9mU8Kfyp3kWSGr2nU43C oMMrwNufql0s9rjKXU/8UUTH6DJrpw6migQURUuIaagyJ5NaBf5QkKkrcNcWxiH0yrUt cDvmWA1oxyijVaQBncm+bFBrrOUclaK1kvkgqZFRD/AM7evxYyKJWqZppY9iYSuWtkAm JFyS8IkBXZX5ggzT0bAipiqRji6TrwR7cJfAejZACIat3CDhQvMhuU1LfWOQnM04Z+6C UuD6vb/qycX7xfnbbmeUTuw/HJEdbRmirEj+vXF9Y8lFdDrttqs78T1Ugewv7Rve5YIR 0qqg== X-Gm-Message-State: AOAM530aGp5Enx15m1VjqxnUvnJTCKvIp/bZDDd9t5tPE7m0PDxx98QS ONhiiwac3/qGBMrHqzoHiASKHbI7am9pHead8TuwFPR1AEJi58EYp9Q= X-Google-Smtp-Source: ABdhPJzFQk04nEmhTasEiJcwdyTeK1E+N/Pdkzlu+2Lo3kCs+erDxey7gJ2tUUgWDaHRvy0r+uFbz+r/thHWG/3MijU= X-Received: by 2002:a1c:7c17:: with SMTP id x23mr4563691wmc.165.1601057530085; Fri, 25 Sep 2020 11:12:10 -0700 (PDT) MIME-Version: 1.0 From: Greg Hogan Date: Fri, 25 Sep 2020 14:11:56 -0400 Message-ID: Content-Type: multipart/alternative; boundary="00000000000058b68f05b02741b2" Received-SPF: none client-ip=2a00:1450:4864:20::32e; envelope-from=code@greghogan.com; helo=mail-wm1-x32e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --00000000000058b68f05b02741b2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable >From 4cd8b67741d61b69e70ae2271b1063f53e3513e8 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Tue, 22 Sep 2020 15:21:43 +0000 Subject: [PATCH 1/2] gnu: Add liburing. * gnu/packages/liburing.scm (liburing): New variable. --- gnu/local.mk | 1 + gnu/packages/liburing.scm | 58 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 gnu/packages/liburing.scm diff --git a/gnu/local.mk b/gnu/local.mk index f3b5b17e84..99e9b5a6ab 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -324,6 +324,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/libffcall.scm \ %D%/packages/libffi.scm \ %D%/packages/libftdi.scm \ + %D%/packages/liburing.scm \ %D%/packages/license.scm \ %D%/packages/calendar.scm \ %D%/packages/libidn.scm \ diff --git a/gnu/packages/liburing.scm b/gnu/packages/liburing.scm new file mode 100644 index 0000000000..261df445b0 --- /dev/null +++ b/gnu/packages/liburing.scm @@ -0,0 +1,58 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2020 Greg Hogan +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages liburing) + #:use-module (gnu packages) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system gnu)) + +(define-public liburing + (package + (name "liburing") + (version "0.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.kernel.dk/liburing") + (commit (string-append "liburing-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15z44l7y4c6s6dlf7v8lq4znlsjbja2r4ifbni0l8cdcnq0w3zh3")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'configure + ;; configure fails if it is followed by SHELL, CONFIG_SHELL, + ;; --enable-fast-install, and --build + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh")) + (invoke "./configure" (string-append "--prefix=3D" out)))))= ))) + (home-page "https://github.com/axboe/liburing") + (synopsis "Simplified interface for io_uring") + (description "This is the io_uring library, liburing. liburing provide= s +helpers to setup and teardown io_uring instances, and also a simplified +interface for applications that don't need (or want) to deal with the full +kernel side implementation.") + (license expat))) --=20 2.28.0 --00000000000058b68f05b02741b2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From 4cd8b67741d61b69e70ae2271b1063f53e3513e8 Mon Sep 17 0= 0:00:00 2001
From: Greg Hogan <= code@greghogan.com>
Date: Tue, 22 Sep 2020 15:21:43 +0000
Subj= ect: [PATCH 1/2] gnu: Add liburing.

* gnu/packages/liburing.scm (lib= uring): New variable.
---
=C2=A0gnu/local= .mk =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A01 +
=C2= =A0gnu/packages/liburing.scm | 58 +++++++++++++++++++++++++++++++++++++++=C2=A02 files changed, 59 insertions(+)
=C2=A0create mode 100644 gnu/p= ackages/liburing.scm

diff --git a/gnu/lo= cal.mk b/gnu/local.mk
index f3b5b17e= 84..99e9b5a6ab 100644
--- a/gnu/local.mk=
+++ b/gnu/local.mk
@@ -324,6 +324,7 = @@ GNU_SYSTEM_MODULES =3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
=C2=A0 = =C2=A0%D%/packages/libffcall.scm =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 \
=C2=A0 =C2=A0%D%/packages/libffi.scm =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
=C2= =A0 =C2=A0%D%/packages/libftdi.scm =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
+ =C2=A0%D%/packages/liburing.scm =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
=C2= =A0 =C2=A0%D%/packages/license.scm =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
=C2=A0 =C2=A0%D%/packages/calendar.scm= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
= =C2=A0 =C2=A0%D%/packages/libidn.scm =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
diff --git a/gnu/packages/liburi= ng.scm b/gnu/packages/liburing.scm
new file mode 100644
index 0000000= 000..261df445b0
--- /dev/null
+++ b/gnu/packages/liburing.scm
@@ -= 0,0 +1,58 @@
+;;; GNU Guix --- Functional package management for GNU
= +;;; Copyright =C2=A9 2020 Greg Hogan <code@greghogan.com>
+;;;
+;;; This file is part of GNU Gu= ix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/= or modify it
+;;; under the terms of the GNU General Public License as p= ublished by
+;;; the Free Software Foundation; either version 3 of the L= icense, or (at
+;;; your option) any later version.
+;;;
+;;; GNU = Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT= ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY= or FITNESS FOR A PARTICULAR PURPOSE.=C2=A0 See the
+;;; GNU General Pub= lic License for more details.
+;;;
+;;; You should have received a co= py of the GNU General Public License
+;;; along with GNU Guix.=C2=A0 If = not, see <http://www.gnu.org/li= censes/>.
+
+(define-module (gnu packages liburing)
+ =C2= =A0#:use-module (gnu packages)
+ =C2=A0#:use-module (guix licenses)
+= =C2=A0#:use-module (guix packages)
+ =C2=A0#:use-module (guix git-downl= oad)
+ =C2=A0#:use-module (guix build-system gnu))
+
+(define-publ= ic liburing
+ =C2=A0(package
+ =C2=A0 =C2=A0(name "liburing"= ;)
+ =C2=A0 =C2=A0(version "0.7")
+ =C2=A0 =C2=A0(source (o= rigin
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(method git-fetc= h)
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(uri (git-reference=
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= (url "https://git.kernel.dk= /liburing")
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(commit (string-append "liburing-" version)))= )
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(file-name (git-file= -name name version))
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(= sha256
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (base32
+ = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"15z44l7y4c6s6d= lf7v8lq4znlsjbja2r4ifbni0l8cdcnq0w3zh3"))))
+ =C2=A0 =C2=A0(build-s= ystem gnu-build-system)
+ =C2=A0 =C2=A0(arguments
+ =C2=A0 =C2=A0 `(#= :tests? #f
+ =C2=A0 =C2=A0 =C2=A0 #:phases
+ =C2=A0 =C2=A0 =C2=A0 (mo= dify-phases %standard-phases
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 (replace '= ;configure
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; configure fails if it= is followed by SHELL, CONFIG_SHELL,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ;; --enable-fast-install, and --build
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 (lambda* (#:key outputs #:allow-other-keys)
+ =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 (let ((out (assoc-ref outputs "out")))+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (setenv "SHELL&qu= ot; (which "sh"))
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 (setenv "CONFIG_SHELL" (which "sh"))
+ =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (invoke "./configure" = (string-append "--prefix=3D" out))))))))
+ =C2=A0 =C2=A0(home-= page "https://github.com= /axboe/liburing")
+ =C2=A0 =C2=A0(synopsis "Simplified int= erface for io_uring")
+ =C2=A0 =C2=A0(description "This is the= io_uring library, liburing. liburing provides
+helpers to setup and tea= rdown io_uring instances, and also a simplified
+interface for applicati= ons that don't need (or want) to deal with the full
+kernel side imp= lementation.")
+ =C2=A0 =C2=A0(license expat)))
--
2.28.0
--00000000000058b68f05b02741b2-- From unknown Fri Sep 19 06:16:18 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43619] [PATCH 1/2] gnu: Add liburing. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Sep 2020 20:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Greg Hogan Cc: 43619@debbugs.gnu.org Received: via spool by 43619-submit@debbugs.gnu.org id=B43619.160141192231523 (code B ref 43619); Tue, 29 Sep 2020 20:39:02 +0000 Received: (at 43619) by debbugs.gnu.org; 29 Sep 2020 20:38:42 +0000 Received: from localhost ([127.0.0.1]:57291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNMOY-0008CN-Fx for submit@debbugs.gnu.org; Tue, 29 Sep 2020 16:38:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNMOX-0008C9-3h for 43619@debbugs.gnu.org; Tue, 29 Sep 2020 16:38:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47197) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNMOR-0006BR-Kd; Tue, 29 Sep 2020 16:38:35 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57450 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kNMOR-0003C1-6A; Tue, 29 Sep 2020 16:38:35 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Tue, 29 Sep 2020 22:38:33 +0200 In-Reply-To: (Greg Hogan's message of "Fri, 25 Sep 2020 14:11:56 -0400") Message-ID: <87y2ks48ty.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Greg, Greg Hogan skribis: >>>From 4cd8b67741d61b69e70ae2271b1063f53e3513e8 Mon Sep 17 00:00:00 2001 > From: Greg Hogan > Date: Tue, 22 Sep 2020 15:21:43 +0000 > Subject: [PATCH 1/2] gnu: Add liburing. > > * gnu/packages/liburing.scm (liburing): New variable. [...] > +(define-module (gnu packages liburing) I would tend to put it in another module, probably (gnu packages linux) in this case because it=E2=80=99s Linux-specific. > + (arguments > + `(#:tests? #f Please add a comment explaining why the test suite is skipped. > + (home-page "https://github.com/axboe/liburing") > + (synopsis "Simplified interface for io_uring") Maybe =E2=80=9CInterface to the Linux kernel @code{io_uring} interface=E2= =80=9D? Could you send an updated patch? Thanks, Ludo=E2=80=99. From unknown Fri Sep 19 06:16:18 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43619] [PATCH 1/2] gnu: Add liburing. Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 10 Oct 2020 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 43619@debbugs.gnu.org Received: via spool by 43619-submit@debbugs.gnu.org id=B43619.16023465498083 (code B ref 43619); Sat, 10 Oct 2020 16:16:02 +0000 Received: (at 43619) by debbugs.gnu.org; 10 Oct 2020 16:15:49 +0000 Received: from localhost ([127.0.0.1]:38390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRHXB-00026J-BK for submit@debbugs.gnu.org; Sat, 10 Oct 2020 12:15:49 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:37730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRHX8-000265-TI for 43619@debbugs.gnu.org; Sat, 10 Oct 2020 12:15:47 -0400 Received: by mail-wr1-f52.google.com with SMTP id h7so13565779wre.4 for <43619@debbugs.gnu.org>; Sat, 10 Oct 2020 09:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9ivgcAt2lsxQtH0ypR4UvrmXZNJIvHq07HgifW5UYAs=; b=0r7Yd8htfiFb9AJvWvn5IfVQ0IEPkxqTA9QPjVOdf0I6Yu1gXy3KbvAAkQr0XAQ2vR HrxEqPtnxdYF7XLQw10U+ZsAeNlWAcV+uCR3MDFTcE+lr8247pGaMg3bEhjLLROQFSQq UhYOX4xkrqFnRTJDfHAI8X13G1LavGOkw9C04eQAJcOj35qRyhUG1mKjZsofclvMd70l pSNibZJCinnD8RDknsl0P1SgldiAVi0mQUKETYy6ikn4TA1EUTRyun8uMK5DgHhqJ7vq oa6zMZD4xTD63pJG6naMmBaoUlk8wBj2QIZZYHx/JYkqepK2Gy+G1JfYok88uyzUczKk idHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9ivgcAt2lsxQtH0ypR4UvrmXZNJIvHq07HgifW5UYAs=; b=WTGJsJ7btj/L7HpwLyxYuvoHZNDQG88/sJHoJVfPjmFmTE4BRTlItTSWaGmGXC4QX1 czpayjfW4ZHHps6KO+hyNxHvccYjuuQhYHNXVO63jLcSFVGJe1FPb0KYyu1UjThXxg6H Ullfm0OF4uRykFXFrCOTCjkr9JvbFixr4/3Z5E2eZxXrM+wBfhGY4rp23es3gmCp6a7v Z6v/Y/rByyOCTu+zG4ixe5VHsldamxuqhok1wkMwNDR/j1sYPyfdf8JQd9HKbvS73Rv2 r1kzpk5n7CDFNgTJM6XLVCKy7/eCIAa/oiG6eUjiwNZjwOYTkNDxi/jdv5/HuxIbk55f oSZA== X-Gm-Message-State: AOAM530zSXkLubEHXheMpU59GVT4Gk14u6vEwkhApKSrCd71Xv5krcNU /Ub1T6GHHusl5pQKYmbLGpsoG5sOLadew1EgA7DkKA== X-Google-Smtp-Source: ABdhPJy4keMANM9QLzhyUKMNf4UdIuC/ltygjEIkMEFLbqLSHVgYnslqt1uVbAXr/c2308+9e/cjCKjq8gyQiCw9hRo= X-Received: by 2002:a5d:480b:: with SMTP id l11mr20867276wrq.225.1602346540915; Sat, 10 Oct 2020 09:15:40 -0700 (PDT) MIME-Version: 1.0 References: <87y2ks48ty.fsf@gnu.org> In-Reply-To: <87y2ks48ty.fsf@gnu.org> From: Greg Hogan Date: Sat, 10 Oct 2020 12:15:29 -0400 Message-ID: Content-Type: multipart/alternative; boundary="00000000000060fd3105b1536081" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000060fd3105b1536081 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Moved to gnu/packages/linux, updated the synopsis, and added a remark for the disabled tests. >From b59f56f3910807dca82075293224f42e8c703039 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Wed, 30 Sep 2020 19:00:53 +0000 Subject: [PATCH] gnu: Add liburing. * gnu/packages/linux.scm (liburing): New variable. --- gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 5486a1031c..02f98ba3ce 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -7585,3 +7585,38 @@ iptables rule and benefit from the speed of IP sets. @end itemize\n then IP sets may be the proper tool for you.") (license license:gpl2+))) + +(define-public liburing + (package + (name "liburing") + (version "0.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.kernel.dk/liburing") + (commit (string-append "liburing-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15z44l7y4c6s6dlf7v8lq4znlsjbja2r4ifbni0l8cdcnq0w3zh3")))) + (build-system gnu-build-system) + (arguments + `(;; Tests are dependent on kernel version and features + #:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'configure + ;; configure fails if it is followed by SHELL, CONFIG_SHELL, + ;; --enable-fast-install, and --build + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh")) + (invoke "./configure" (string-append "--prefix=3D" out)))))= ))) + (home-page "https://github.com/axboe/liburing") + (synopsis "Interface to the Linux kernel @code{io_uring} interface") + (description "This is the io_uring library, liburing. liburing provide= s +helpers to setup and teardown io_uring instances, and also a simplified +interface for applications that don't need (or want) to deal with the full +kernel side implementation.") + (license expat))) --=20 2.28.0 On Tue, Sep 29, 2020 at 4:38 PM Ludovic Court=C3=A8s wrote: > Hi Greg, > > Greg Hogan skribis: > > >>From 4cd8b67741d61b69e70ae2271b1063f53e3513e8 Mon Sep 17 00:00:00 2001 > > From: Greg Hogan > > Date: Tue, 22 Sep 2020 15:21:43 +0000 > > Subject: [PATCH 1/2] gnu: Add liburing. > > > > * gnu/packages/liburing.scm (liburing): New variable. > > [...] > > > +(define-module (gnu packages liburing) > > I would tend to put it in another module, probably (gnu packages linux) > in this case because it=E2=80=99s Linux-specific. > > > + (arguments > > + `(#:tests? #f > > Please add a comment explaining why the test suite is skipped. > > > + (home-page "https://github.com/axboe/liburing") > > + (synopsis "Simplified interface for io_uring") > > Maybe =E2=80=9CInterface to the Linux kernel @code{io_uring} interface=E2= =80=9D? > > Could you send an updated patch? > > Thanks, > Ludo=E2=80=99. > --00000000000060fd3105b1536081 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Moved to gnu/packages/linux, updated= the synopsis, and added a remark for the disabled tests.
From b59f56f3910807dca82075293224f42e8c703039 Mon Sep 17 0= 0:00:00 2001
From: Greg Hogan <code@greghogan.com>
Date: Wed, 30 Sep 2020 19:00:53= +0000
Subject: [PATCH] gnu: Add liburing.

* gnu/packages/linux.scm (liburing): New variable.
---
=C2=A0gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++
=C2=A01 file changed, 35 insertions(+)

dif= f --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5= 486a1031c..02f98ba3ce 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7585,3 +7585,38 @@ iptables r= ule and benefit from the speed of IP sets.
=C2=A0@end itemize\n
=C2=A0then IP sets may be the proper tool for you.")
=C2=A0 =C2=A0 =C2=A0(license license:gpl2+)))
+
+(def= ine-public liburing
+ =C2=A0(package
+ =C2=A0 =C2=A0(na= me "liburing")
+ =C2=A0 =C2=A0(version "0.7")=
+ =C2=A0 =C2=A0(source (origin
+ =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0(method git-fetch)
+ =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(uri (git-reference
+ =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(url "https://git.kernel.dk/liburing&qu= ot;)
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0(commit (string-append "liburing-" version))))
=
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(file-name (git-file= -name name version))
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0(sha256
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = (base32
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= "15z44l7y4c6s6dlf7v8lq4znlsjbja2r4ifbni0l8cdcnq0w3zh3"))))
<= div>+ =C2=A0 =C2=A0(build-system gnu-build-system)
+ =C2=A0 =C2= =A0(arguments
+ =C2=A0 =C2=A0 `(;; Tests are dependent on kernel = version and features
+ =C2=A0 =C2=A0 =C2=A0 #:tests? #f
+ =C2=A0 =C2=A0 =C2=A0 #:phases
+ =C2=A0 =C2=A0 =C2=A0 (modify-p= hases %standard-phases
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 (replace = 9;configure
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; configure fai= ls if it is followed by SHELL, CONFIG_SHELL,
+ =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ;; --enable-fast-install, and --build
+ =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 (lambda* (#:key outputs #:allow-other-keys)
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (let ((out (assoc-ref ou= tputs "out")))
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (setenv "SHELL" (which "sh"))
+ = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (setenv "CONFIG_SHELL= " (which "sh"))
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (invoke "./configure" (string-append "--pr= efix=3D" out))))))))
+ =C2=A0 =C2=A0(home-page "https://github.com/axboe/liburing")
=

=
Hi Greg,

Greg Hogan <code= @greghogan.com> skribis:

>>From 4cd8b67741d61b69e70ae2271b1063f53e3513e8 Mon Sep 17 00:00:00 2= 001
> From: Greg Hogan <code@greghogan.com>
> Date: Tue, 22 Sep 2020 15:21:43 +0000
> Subject: [PATCH 1/2] gnu: Add liburing.
>
> * gnu/packages/liburing.scm (liburing): New variable.

[...]

> +(define-module (gnu packages liburing)

I would tend to put it in another module, probably (gnu packages linux)
in this case because it=E2=80=99s Linux-specific.

> +=C2=A0 =C2=A0 (arguments
> +=C2=A0 =C2=A0 =C2=A0`(#:tests? #f

Please add a comment explaining why the test suite is skipped.

> +=C2=A0 =C2=A0 (home-page "https://github.com/axboe/libur= ing")
> +=C2=A0 =C2=A0 (synopsis "Simplified interface for io_uring"= )

Maybe =E2=80=9CInterface to the Linux kernel @code{io_uring} interface=E2= =80=9D?

Could you send an updated patch?

Thanks,
Ludo=E2=80=99.
--00000000000060fd3105b1536081-- From unknown Fri Sep 19 06:16:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Greg Hogan Subject: bug#43619: closed (Re: [bug#43619] [PATCH 1/2] gnu: Add liburing.) Message-ID: References: <87o8l9hkl2.fsf@gnu.org> X-Gnu-PR-Message: they-closed 43619 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 43619@debbugs.gnu.org Date: Sat, 10 Oct 2020 20:51:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1602363062-9544-1" This is a multi-part message in MIME format... ------------=_1602363062-9544-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #43619: [PATCH 1/2] gnu: Add liburing. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 43619@debbugs.gnu.org. --=20 43619: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43619 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1602363062-9544-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 43619-done) by debbugs.gnu.org; 10 Oct 2020 20:50:27 +0000 Received: from localhost ([127.0.0.1]:38723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRLox-0002Ss-EB for submit@debbugs.gnu.org; Sat, 10 Oct 2020 16:50:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRLov-0002SV-09 for 43619-done@debbugs.gnu.org; Sat, 10 Oct 2020 16:50:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42406) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRLop-0008Dz-FR; Sat, 10 Oct 2020 16:50:19 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48718 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kRLoo-0004g9-Vn; Sat, 10 Oct 2020 16:50:19 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Greg Hogan Subject: Re: [bug#43619] [PATCH 1/2] gnu: Add liburing. References: <87y2ks48ty.fsf@gnu.org> Date: Sat, 10 Oct 2020 22:50:17 +0200 In-Reply-To: (Greg Hogan's message of "Sat, 10 Oct 2020 12:15:29 -0400") Message-ID: <87o8l9hkl2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43619-done Cc: 43619-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Greg Hogan skribis: > Moved to gnu/packages/linux, updated the synopsis, and added a remark for > the disabled tests. Great. Applied with the minor tweaks below. Thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 8061457e2e..39960c102b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -49,6 +49,7 @@ ;;; Copyright =C2=A9 2020 Michael Rohleder ;;; Copyright =C2=A9 2020 Anders Thun=C3=A9 ;;; Copyright =C2=A9 2020 Maxim Cournoyer +;;; Copyright =C2=A9 2020 Greg Hogan ;;; ;;; This file is part of GNU Guix. ;;; @@ -7619,4 +7620,4 @@ then IP sets may be the proper tool for you.") helpers to setup and teardown io_uring instances, and also a simplified interface for applications that don't need (or want) to deal with the full kernel side implementation.") - (license expat))) + (license license:expat))) --=-=-=-- ------------=_1602363062-9544-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Sep 2020 18:12:27 +0000 Received: from localhost ([127.0.0.1]:45310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLsCo-0005oP-QP for submit@debbugs.gnu.org; Fri, 25 Sep 2020 14:12:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:46764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLsCj-0005oD-Pn for submit@debbugs.gnu.org; Fri, 25 Sep 2020 14:12:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLsCj-0004Fy-Du for guix-patches@gnu.org; Fri, 25 Sep 2020 14:12:21 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:54033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLsCe-0004RL-8Z for guix-patches@gnu.org; Fri, 25 Sep 2020 14:12:21 -0400 Received: by mail-wm1-x32e.google.com with SMTP id x23so3974764wmi.3 for ; Fri, 25 Sep 2020 11:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=yZTxShQ/goYittre0rNirTRdFjHqaLO2HPu0aA4fWX8=; b=JhbmwwlKB9J9zH7cLsRofma3dU8oGGyWmlZVxMkx0WafxP2rmHNV2QZEsTd62eDeGh Hos+NYht5qWjNhzFV6pplmhFWLLrRvkBEYvk9a9jaxO6foSupXD9NqoAJL6bP+0YA6yk zs6FP1XyKmlprhS/EGQMi9zZ6M7PAC1A+D/HIRb9AEKnmCaYxKTYXjrn4UZavEqw8dD+ Xp+IkN5rPXoqu5j5gHZC7nyItNSbYYwlrCupL9BqFyMG/3q6OKugsl/8+Hq7TgAtaHtX chvUkLFCPbujqFB/qDRGdIBYeDVSwF0hR3cDcqXN/XzuPC6oxKchOdCtO7lOczkTgGQ9 0Ivg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yZTxShQ/goYittre0rNirTRdFjHqaLO2HPu0aA4fWX8=; b=Jr+/aElEiL6uNGC2f6QCgVZ9nzb4HGpGS6e7MFhRCQDJLI9mU8Kfyp3kWSGr2nU43C oMMrwNufql0s9rjKXU/8UUTH6DJrpw6migQURUuIaagyJ5NaBf5QkKkrcNcWxiH0yrUt cDvmWA1oxyijVaQBncm+bFBrrOUclaK1kvkgqZFRD/AM7evxYyKJWqZppY9iYSuWtkAm JFyS8IkBXZX5ggzT0bAipiqRji6TrwR7cJfAejZACIat3CDhQvMhuU1LfWOQnM04Z+6C UuD6vb/qycX7xfnbbmeUTuw/HJEdbRmirEj+vXF9Y8lFdDrttqs78T1Ugewv7Rve5YIR 0qqg== X-Gm-Message-State: AOAM530aGp5Enx15m1VjqxnUvnJTCKvIp/bZDDd9t5tPE7m0PDxx98QS ONhiiwac3/qGBMrHqzoHiASKHbI7am9pHead8TuwFPR1AEJi58EYp9Q= X-Google-Smtp-Source: ABdhPJzFQk04nEmhTasEiJcwdyTeK1E+N/Pdkzlu+2Lo3kCs+erDxey7gJ2tUUgWDaHRvy0r+uFbz+r/thHWG/3MijU= X-Received: by 2002:a1c:7c17:: with SMTP id x23mr4563691wmc.165.1601057530085; Fri, 25 Sep 2020 11:12:10 -0700 (PDT) MIME-Version: 1.0 From: Greg Hogan Date: Fri, 25 Sep 2020 14:11:56 -0400 Message-ID: Subject: [PATCH 1/2] gnu: Add liburing. To: guix-patches@gnu.org Content-Type: multipart/alternative; boundary="00000000000058b68f05b02741b2" Received-SPF: none client-ip=2a00:1450:4864:20::32e; envelope-from=code@greghogan.com; helo=mail-wm1-x32e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --00000000000058b68f05b02741b2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable >From 4cd8b67741d61b69e70ae2271b1063f53e3513e8 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Tue, 22 Sep 2020 15:21:43 +0000 Subject: [PATCH 1/2] gnu: Add liburing. * gnu/packages/liburing.scm (liburing): New variable. --- gnu/local.mk | 1 + gnu/packages/liburing.scm | 58 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 gnu/packages/liburing.scm diff --git a/gnu/local.mk b/gnu/local.mk index f3b5b17e84..99e9b5a6ab 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -324,6 +324,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/libffcall.scm \ %D%/packages/libffi.scm \ %D%/packages/libftdi.scm \ + %D%/packages/liburing.scm \ %D%/packages/license.scm \ %D%/packages/calendar.scm \ %D%/packages/libidn.scm \ diff --git a/gnu/packages/liburing.scm b/gnu/packages/liburing.scm new file mode 100644 index 0000000000..261df445b0 --- /dev/null +++ b/gnu/packages/liburing.scm @@ -0,0 +1,58 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2020 Greg Hogan +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages liburing) + #:use-module (gnu packages) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system gnu)) + +(define-public liburing + (package + (name "liburing") + (version "0.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.kernel.dk/liburing") + (commit (string-append "liburing-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15z44l7y4c6s6dlf7v8lq4znlsjbja2r4ifbni0l8cdcnq0w3zh3")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'configure + ;; configure fails if it is followed by SHELL, CONFIG_SHELL, + ;; --enable-fast-install, and --build + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh")) + (invoke "./configure" (string-append "--prefix=3D" out)))))= ))) + (home-page "https://github.com/axboe/liburing") + (synopsis "Simplified interface for io_uring") + (description "This is the io_uring library, liburing. liburing provide= s +helpers to setup and teardown io_uring instances, and also a simplified +interface for applications that don't need (or want) to deal with the full +kernel side implementation.") + (license expat))) --=20 2.28.0 --00000000000058b68f05b02741b2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From 4cd8b67741d61b69e70ae2271b1063f53e3513e8 Mon Sep 17 0= 0:00:00 2001
From: Greg Hogan <= code@greghogan.com>
Date: Tue, 22 Sep 2020 15:21:43 +0000
Subj= ect: [PATCH 1/2] gnu: Add liburing.

* gnu/packages/liburing.scm (lib= uring): New variable.
---
=C2=A0gnu/local= .mk =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A01 +
=C2= =A0gnu/packages/liburing.scm | 58 +++++++++++++++++++++++++++++++++++++++=C2=A02 files changed, 59 insertions(+)
=C2=A0create mode 100644 gnu/p= ackages/liburing.scm

diff --git a/gnu/lo= cal.mk b/gnu/local.mk
index f3b5b17e= 84..99e9b5a6ab 100644
--- a/gnu/local.mk=
+++ b/gnu/local.mk
@@ -324,6 +324,7 = @@ GNU_SYSTEM_MODULES =3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
=C2=A0 = =C2=A0%D%/packages/libffcall.scm =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 \
=C2=A0 =C2=A0%D%/packages/libffi.scm =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
=C2= =A0 =C2=A0%D%/packages/libftdi.scm =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
+ =C2=A0%D%/packages/liburing.scm =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
=C2= =A0 =C2=A0%D%/packages/license.scm =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
=C2=A0 =C2=A0%D%/packages/calendar.scm= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
= =C2=A0 =C2=A0%D%/packages/libidn.scm =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
diff --git a/gnu/packages/liburi= ng.scm b/gnu/packages/liburing.scm
new file mode 100644
index 0000000= 000..261df445b0
--- /dev/null
+++ b/gnu/packages/liburing.scm
@@ -= 0,0 +1,58 @@
+;;; GNU Guix --- Functional package management for GNU
= +;;; Copyright =C2=A9 2020 Greg Hogan <code@greghogan.com>
+;;;
+;;; This file is part of GNU Gu= ix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/= or modify it
+;;; under the terms of the GNU General Public License as p= ublished by
+;;; the Free Software Foundation; either version 3 of the L= icense, or (at
+;;; your option) any later version.
+;;;
+;;; GNU = Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT= ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY= or FITNESS FOR A PARTICULAR PURPOSE.=C2=A0 See the
+;;; GNU General Pub= lic License for more details.
+;;;
+;;; You should have received a co= py of the GNU General Public License
+;;; along with GNU Guix.=C2=A0 If = not, see <http://www.gnu.org/li= censes/>.
+
+(define-module (gnu packages liburing)
+ =C2= =A0#:use-module (gnu packages)
+ =C2=A0#:use-module (guix licenses)
+= =C2=A0#:use-module (guix packages)
+ =C2=A0#:use-module (guix git-downl= oad)
+ =C2=A0#:use-module (guix build-system gnu))
+
+(define-publ= ic liburing
+ =C2=A0(package
+ =C2=A0 =C2=A0(name "liburing"= ;)
+ =C2=A0 =C2=A0(version "0.7")
+ =C2=A0 =C2=A0(source (o= rigin
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(method git-fetc= h)
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(uri (git-reference=
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= (url "https://git.kernel.dk= /liburing")
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(commit (string-append "liburing-" version)))= )
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(file-name (git-file= -name name version))
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(= sha256
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (base32
+ = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"15z44l7y4c6s6d= lf7v8lq4znlsjbja2r4ifbni0l8cdcnq0w3zh3"))))
+ =C2=A0 =C2=A0(build-s= ystem gnu-build-system)
+ =C2=A0 =C2=A0(arguments
+ =C2=A0 =C2=A0 `(#= :tests? #f
+ =C2=A0 =C2=A0 =C2=A0 #:phases
+ =C2=A0 =C2=A0 =C2=A0 (mo= dify-phases %standard-phases
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 (replace '= ;configure
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; configure fails if it= is followed by SHELL, CONFIG_SHELL,
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ;; --enable-fast-install, and --build
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 (lambda* (#:key outputs #:allow-other-keys)
+ =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 (let ((out (assoc-ref outputs "out")))+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (setenv "SHELL&qu= ot; (which "sh"))
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 (setenv "CONFIG_SHELL" (which "sh"))
+ =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (invoke "./configure" = (string-append "--prefix=3D" out))))))))
+ =C2=A0 =C2=A0(home-= page "https://github.com= /axboe/liburing")
+ =C2=A0 =C2=A0(synopsis "Simplified int= erface for io_uring")
+ =C2=A0 =C2=A0(description "This is the= io_uring library, liburing. liburing provides
+helpers to setup and tea= rdown io_uring instances, and also a simplified
+interface for applicati= ons that don't need (or want) to deal with the full
+kernel side imp= lementation.")
+ =C2=A0 =C2=A0(license expat)))
--
2.28.0
--00000000000058b68f05b02741b2-- ------------=_1602363062-9544-1--