summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <darmac@163.com>2019-11-30 02:18:41 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-11-29 12:18:41 -0600
commite865856c841aff4ccca100fe215bc20997b738af (patch)
treee6b33c846389f55e630a1b71f7975e3e7da8c055 /var
parentcacfc3a6e1c79520087455a0831a567ad6fb3486 (diff)
downloadspack-e865856c841aff4ccca100fe215bc20997b738af.tar.gz
spack-e865856c841aff4ccca100fe215bc20997b738af.tar.bz2
spack-e865856c841aff4ccca100fe215bc20997b738af.tar.xz
spack-e865856c841aff4ccca100fe215bc20997b738af.zip
add new package : qperf (#13935)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/qperf/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/qperf/package.py b/var/spack/repos/builtin/packages/qperf/package.py
new file mode 100644
index 0000000000..fb1ed8cf7b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/qperf/package.py
@@ -0,0 +1,28 @@
+# 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 Qperf(AutotoolsPackage):
+ """
+ The qperf measures bandwidth and latency between two nodes. It can work
+ over TCP/IP as well as the RDMA transports.
+ """
+
+ homepage = "https://github.com/linux-rdma/qperf"
+ url = "https://github.com/linux-rdma/qperf/archive/v0.4.10.tar.gz"
+
+ version('0.4.11', sha256='b0ef2ffe050607566d06102b4ef6268aad08fdc52898620d429096e7b0767e75')
+ version('0.4.10', sha256='94e26725b4f962eacca36d8ef48cd1fb5043721ac82c3f44018319e47a96cf6b')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+
+ def autoreconf(self, spec, prefix):
+ sh = which('sh')
+ sh('autogen.sh')