From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id evPTFU7egV9IbAAA0tVLHw (envelope-from ) for ; Sat, 10 Oct 2020 16:16:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IIdMEU7egV8mYwAAB5/wlQ (envelope-from ) for ; Sat, 10 Oct 2020 16:16:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 824569404C5 for ; Sat, 10 Oct 2020 16:16:13 +0000 (UTC) Received: from localhost ([::1]:59104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRHXX-0002KA-A7 for larch@yhetil.org; Sat, 10 Oct 2020 12:16:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRHXP-0002Ip-41 for guix-patches@gnu.org; Sat, 10 Oct 2020 12:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRHXO-0004s5-Pq for guix-patches@gnu.org; Sat, 10 Oct 2020 12:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kRHXO-00026o-Ik for guix-patches@gnu.org; Sat, 10 Oct 2020 12:16:02 -0400 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 X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=greghogan-com.20150623.gappssmtp.com header.s=20150623 header.b=0r7Yd8ht; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 2.49 X-TUID: PfiFceMpXbxq --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--