
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
27 lines
1.1 KiB
Python
27 lines
1.1 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', sha256='e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e')
|
|
|
|
conflicts('platform=darwin', msg="libaio is a linux specific library")
|
|
|
|
@property
|
|
def install_targets(self):
|
|
return ['prefix={0}'.format(self.spec.prefix), 'install']
|