diff options
author | Matthieu Dorier <mdorier@anl.gov> | 2023-03-09 19:03:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 11:03:32 -0800 |
commit | 68874a72fbcf3525d3985216128f23824d249277 (patch) | |
tree | 8ba0b21fac1442d8392af6c33cbfc498066fd557 | |
parent | e560beed1941b41fd0135a2b203727e21c2adfe5 (diff) | |
download | spack-68874a72fbcf3525d3985216128f23824d249277.tar.gz spack-68874a72fbcf3525d3985216128f23824d249277.tar.bz2 spack-68874a72fbcf3525d3985216128f23824d249277.tar.xz spack-68874a72fbcf3525d3985216128f23824d249277.zip |
[liburing] Adds liburing package (#35762)
* [liburing] Adds liburing package
* Update var/spack/repos/builtin/packages/liburing/package.py
* [liburing] Added conflicts for darwin and windows platforms
---------
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/liburing/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/liburing/package.py b/var/spack/repos/builtin/packages/liburing/package.py new file mode 100644 index 0000000000..7a7d80139b --- /dev/null +++ b/var/spack/repos/builtin/packages/liburing/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + + +from spack.package import * + + +class Liburing(AutotoolsPackage): + """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.""" + + homepage = "https://github.com/axboe/liburing" + url = "https://github.com/axboe/liburing/archive/refs/tags/liburing-2.3.tar.gz" + git = "https://github.com/axboe/liburing.git" + + version("master", branch="master") + version("2.3", sha256="60b367dbdc6f2b0418a6e0cd203ee0049d9d629a36706fcf91dfb9428bae23c8") + + conflicts("platform=darwin", msg="Only supported on 'linux' and 'cray'") + conflicts("platform=windows", msg="Only supported on 'linux' and 'cray'") |