add new package : blktrace (#13872)

* add new package : blktrace

* modify install_tree('', prefix) to install_tree('.', prefix)
This commit is contained in:
darmac 2019-11-27 02:19:01 +08:00 committed by Adam J. Stewart
parent 8ea4692ee9
commit 327de3b3d4

View file

@ -0,0 +1,31 @@
# 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)
from spack import *
class Blktrace(MakefilePackage):
"""
blktrace is a block layer IO tracing mechanism which provides detailed
information about request queue operations up to user space. There are
three major components: a kernel component, a utility to record the i/o
trace information for the kernel to user space, and utilities to analyse
and view the trace information.
"""
homepage = "https://brick.kernel.dk"
url = "https://brick.kernel.dk/snaps/blktrace-1.2.0.tar.gz"
version('1.2.0', sha256='d14029bc096026dacb206bf115c912dcdb795320b5aba6dff3e46d7f94c5242d')
version('1.1.0', sha256='dc1e5da64b8fef454ec24aa4fcc760112b4ea7c973e2485961aa5668b3a8ce1d')
version('1.0.5', sha256='783b4c8743498de74b3492725815d31f3842828baf8710c53bc4e7e82cee387c')
version('1.0.4', sha256='c1b53e2382f7309e822d48fef187cf44e84bb44df52a0a9786d447d127af75cf')
version('1.0.3', sha256='78c6825212fe6700039fab77d53bc02e6b324e712caea718fff190e4e034cfa8')
version('1.0.2', sha256='15f01e2a952919ba3c7b90f8bd891d1a98c454626501094030df632666786343')
depends_on('libaio')
def install(self, spec, prefix):
install_tree('.', prefix)