From patchwork Sat Oct 10 16:15:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Hogan X-Patchwork-Id: 24539 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8AC9027BBE9; Sat, 10 Oct 2020 17:16:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E3D6827BBEA for ; Sat, 10 Oct 2020 17:16:10 +0100 (BST) Received: from localhost ([::1]:59104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRHXW-0002KA-5Q for patchwork@mira.cbaines.net; Sat, 10 Oct 2020 12:16:10 -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: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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=" 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 provides +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)))