summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <darmac@163.com>2019-11-27 02:19:01 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-11-26 12:19:01 -0600
commit327de3b3d4b018c5c5732766aac62cc827744e56 (patch)
tree8a770a212d905090155141cabefce34831115407
parent8ea4692ee9bb74d2010d099dc7383ab1105e8970 (diff)
downloadspack-327de3b3d4b018c5c5732766aac62cc827744e56.tar.gz
spack-327de3b3d4b018c5c5732766aac62cc827744e56.tar.bz2
spack-327de3b3d4b018c5c5732766aac62cc827744e56.tar.xz
spack-327de3b3d4b018c5c5732766aac62cc827744e56.zip
add new package : blktrace (#13872)
* add new package : blktrace * modify install_tree('', prefix) to install_tree('.', prefix)
-rw-r--r--var/spack/repos/builtin/packages/blktrace/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/blktrace/package.py b/var/spack/repos/builtin/packages/blktrace/package.py
new file mode 100644
index 0000000000..e26cde63b4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/blktrace/package.py
@@ -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)