Skip to content
Snippets Groups Projects
Select Git revision
  • 8dd3010c03bbd82aa1d6df3e4c40d6d6a8469db7
  • 5.4 default protected
  • 5.5
  • dev/5.5
  • dev/5.4
  • dev/5.3_downgrade
  • feature/experimenttime_hack
  • 5.3 protected
  • _IntenSelect5.3
  • IntenSelect5.3
  • 4.27 protected
  • 4.26 protected
  • 5.0 protected
  • 4.22 protected
  • 4.21 protected
  • UE5.4-2024.1
  • UE5.4-2024.1-rc1
  • UE5.3-2023.1-rc3
  • UE5.3-2023.1-rc2
  • UE5.3-2023.1-rc
20 results

RWTHVRPawn.cpp

Blame
  • package.py 1.74 KiB
    # Copyright Spack Project Developers. See COPYRIGHT file for details.
    #
    # SPDX-License-Identifier: (Apache-2.0 OR MIT)
    
    from spack.package import *
    
    
    class Liburing(AutotoolsPackage):
        """Linux-native io_uring I/O access library.
    
        liburing provides helpers to setup and teardown io_uring instances,
        and a simplified interface for applications that don't need (or want)
        to deal with the full kernel side implementation. It enables high-performance
        asynchronous I/O operations on Linux systems supporting the io_uring
        interface.
        """
    
        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"
    
        maintainers("alecbcs")
    
        license("LGPL-2.1-or-later OR MIT")
    
        # Sanity checks
        sanity_check_is_file = ["include/liburing.h", "lib/liburing.so"]
        sanity_check_is_dir = ["include", "lib"]
    
        # Versions
        version("master", branch="master")
        version("2.9", sha256="897b1153b55543e8b92a5a3eb9b906537a5fedcf8afaf241f8b8787940c79f8d")
        version("2.4", sha256="2398ec82d967a6f903f3ae1fd4541c754472d3a85a584dc78c5da2fabc90706b")
        version("2.3", sha256="60b367dbdc6f2b0418a6e0cd203ee0049d9d629a36706fcf91dfb9428bae23c8")
    
        # Build dependencies
        depends_on("c", type="build")
        depends_on("cxx", type="build")
    
        # Platform conflicts
        conflicts("platform=darwin", msg="liburing is only supported on Linux.")
        conflicts("platform=windows", msg="liburing is only supported on Linux.")
    
        # Define build targets
        @property
        def build_targets(self):
            if self.spec.satisfies("@2.7:"):
                # avoid examples and test
                return ["library"]
            else:
                return ["all"]