summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <darmac@163.com>2019-11-26 20:38:48 +0800
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-11-26 13:38:48 +0100
commit577391e62be194f8642dad5c7639dc1641190c18 (patch)
treeee01f69808c5acc3a372c859d1a2201e4f91bfcd
parentc171ff633523c97045ffcbf6115683f240db48e0 (diff)
downloadspack-577391e62be194f8642dad5c7639dc1641190c18.tar.gz
spack-577391e62be194f8642dad5c7639dc1641190c18.tar.bz2
spack-577391e62be194f8642dad5c7639dc1641190c18.tar.xz
spack-577391e62be194f8642dad5c7639dc1641190c18.zip
httperf: added new package (#13875)
-rw-r--r--var/spack/repos/builtin/packages/httperf/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/httperf/package.py b/var/spack/repos/builtin/packages/httperf/package.py
new file mode 100644
index 0000000000..2e546de6fd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/httperf/package.py
@@ -0,0 +1,26 @@
+# 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 Httperf(AutotoolsPackage):
+ """Httperf is a tool for measuring web server performance. It provides
+ a flexible facility for generating various HTTP workloads and for
+ measuring server performance."""
+
+ homepage = "https://github.com/httperf"
+ git = "https://github.com/httperf/httperf.git"
+
+ version('master', branch='master')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+
+ @run_before('autoreconf')
+ def e_autogen(self):
+ mkdirp('m4')