summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/liburing/package.py
blob: d2e846136051a551cef1c93de397b07720366979 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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"

    license("LGPL-2.1-or-later OR MIT")

    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'")