From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YGvWDWszbl8UTQAA0tVLHw (envelope-from ) for ; Fri, 25 Sep 2020 18:14:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wNnZCWszbl/yCgAA1q6Kng (envelope-from ) for ; Fri, 25 Sep 2020 18:14:03 +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 8594394065F for ; Fri, 25 Sep 2020 18:14:02 +0000 (UTC) Received: from localhost ([::1]:53176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLsEK-0004oF-6o for larch@yhetil.org; Fri, 25 Sep 2020 14:14:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLsDS-0004KJ-Vz for guix-patches@gnu.org; Fri, 25 Sep 2020 14:13:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33767) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLsDO-0004Ya-JN for guix-patches@gnu.org; Fri, 25 Sep 2020 14:13:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLsDO-0005pT-Fh for guix-patches@gnu.org; Fri, 25 Sep 2020 14:13: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: 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 X-Spam-Score: -3.3 (---) 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=JhbmwwlK; 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: 0.99 X-TUID: KCBluEb8HVv8 --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--