[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: Add liburing.
From: |
guix-commits |
Subject: |
07/08: gnu: Add liburing. |
Date: |
Sat, 10 Oct 2020 17:00:30 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 350e61bcf01c7327d9c68eb9222a855cd8174f09
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Wed Sep 30 19:00:53 2020 +0000
gnu: Add liburing.
* gnu/packages/linux.scm (liburing): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/linux.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4826e52..39960c1 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -49,6 +49,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Anders Thuné <asse.97@gmail.com>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020 Greg Hogan <code@greghogan.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -7585,3 +7586,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 license:expat)))
- branch master updated (45cad97 -> 5b548a1), guix-commits, 2020/10/10
- 02/08: gnu: mig: Define 'mig/32-bit'., guix-commits, 2020/10/10
- 05/08: gnu: Add python-inform., guix-commits, 2020/10/10
- 01/08: svn-download, hg-download: Use 'report-invoke-error'., guix-commits, 2020/10/10
- 03/08: gnu: gdb: Build with a 32-bit MIG when targeting i586-pc-gnu., guix-commits, 2020/10/10
- 06/08: gnu: Add python-nestedtext., guix-commits, 2020/10/10
- 07/08: gnu: Add liburing.,
guix-commits <=
- 08/08: gnu: Add folly., guix-commits, 2020/10/10
- 04/08: gnu: beets: Skip failing tests., guix-commits, 2020/10/10