summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <darmac@163.com>2019-12-19 01:30:10 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-18 11:30:10 -0600
commit201a62d957c3d00450b4b259ab27b564ea8553a4 (patch)
tree0141b468481a129edcc90e8e31ae23b7f7e83cfe
parent5a1b6e1cfc167eece90c01f9872a6ca99f4b6ede (diff)
downloadspack-201a62d957c3d00450b4b259ab27b564ea8553a4.tar.gz
spack-201a62d957c3d00450b4b259ab27b564ea8553a4.tar.bz2
spack-201a62d957c3d00450b4b259ab27b564ea8553a4.tar.xz
spack-201a62d957c3d00450b4b259ab27b564ea8553a4.zip
add new package : filebench (#14158)
* add new package : filebench * remove alpha version and duplicated autoheader cmd * refine automake cmd in sh() * refine filebench url as a stable tarball link
-rw-r--r--var/spack/repos/builtin/packages/filebench/package.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/filebench/package.py b/var/spack/repos/builtin/packages/filebench/package.py
new file mode 100644
index 0000000000..15d6213767
--- /dev/null
+++ b/var/spack/repos/builtin/packages/filebench/package.py
@@ -0,0 +1,40 @@
+# 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 Filebench(AutotoolsPackage):
+ """
+ Filebench is a file system and storage benchmark that can generate a
+ large variety of workloads. Unlike typical benchmarks it is extremely
+ flexible and allows to specify application's I/O behavior using its
+ extensive Workload Model Language (WML). Users can either describe
+ desired workloads from scratch or use(with or without modifications)
+ workload personalities shipped with Filebench(e.g., mail-, web-, file-,
+ and database-server workloads). Filebench is equally good for micro
+ and macro-benchmarking, quick to setup, and relatively easy to use.
+ """
+
+ homepage = "https://github.com/filebench/filebench"
+ url = "https://github.com/filebench/filebench/archive/1.4.9.1.tar.gz"
+
+ version('1.4.9.1', sha256='77ae91b83c828ded1219550aec74fbbd6975dce02cb5ab13c3b99ac2154e5c2e')
+ version('1.4.9', sha256='61b8a838c1450b51a4ce61481a19a1bf0d6e3993180c524ff4051f7c18bd9c6a')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('flex', type='build')
+ depends_on('bison', type='build')
+
+ def autoreconf(self, spec, prefix):
+ sh = which('sh')
+ sh('libtoolize')
+ sh('aclocal')
+ sh('autoheader')
+ sh('automake', '--add-missing')
+ sh('autoconf')