
* libaio: fixed a condition that checks whether we are running on OS X * libaio: simplified package by adding an explicit conflict for darwin * libaio: added information to the docstring * fio: added version 3.16, added conflict when using libaio, docstring * lvm2: conflict due to libaio dep, improved docstring, simpler install * mariadb: conflict due to libaio dep, improved docstring, version 10.4.7 * mariadb: the dependency on libaio is now conditional, removed conflict * mariadb: fixed a typo in previous commit Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * libaio: turned into a MakefilePackage
27 lines
1.0 KiB
Python
27 lines
1.0 KiB
Python
# Copyright 2013-2019 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)
|
|
|
|
|
|
class Libaio(MakefilePackage):
|
|
"""Linux native Asynchronous I/O interface library.
|
|
|
|
AIO enables even a single application thread to overlap I/O operations
|
|
with other processing, by providing an interface for submitting one or
|
|
more I/O requests in one system call (io_submit()) without waiting for
|
|
completion, and a separate interface (io_getevents()) to reap completed
|
|
I/O operations associated with a given completion group.
|
|
"""
|
|
|
|
homepage = "http://lse.sourceforge.net/io/aio.html"
|
|
url = "https://debian.inf.tu-dresden.de/debian/pool/main/liba/libaio/libaio_0.3.110.orig.tar.gz"
|
|
|
|
version('0.3.110', '2a35602e43778383e2f4907a4ca39ab8')
|
|
|
|
conflicts('platform=darwin', msg="libaio is a linux specific library")
|
|
|
|
@property
|
|
def install_targets(self):
|
|
return ['prefix={0}'.format(self.spec.prefix), 'install']
|