summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <darmac@163.com>2019-12-18 02:48:27 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-17 12:48:27 -0600
commitcd8be44f62a9989742a88e2c287d4afb7bc416ef (patch)
tree61cfcd2934c48e50a4d5403d72fc4af14da3c824 /var
parentf657f73e9477fcd3b6495af3c022f380b4656ded (diff)
downloadspack-cd8be44f62a9989742a88e2c287d4afb7bc416ef.tar.gz
spack-cd8be44f62a9989742a88e2c287d4afb7bc416ef.tar.bz2
spack-cd8be44f62a9989742a88e2c287d4afb7bc416ef.tar.xz
spack-cd8be44f62a9989742a88e2c287d4afb7bc416ef.zip
add new package : cosbench (#14171)
* add new package : cosbench * add cosbench depends and remove unstable version * Update var/spack/repos/builtin/packages/cosbench/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/cosbench/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cosbench/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cosbench/package.py b/var/spack/repos/builtin/packages/cosbench/package.py
new file mode 100644
index 0000000000..8057a2eaee
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cosbench/package.py
@@ -0,0 +1,29 @@
+# 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 Cosbench(Package):
+ """
+ COSBench is a benchmarking tool to measure the performance of
+ Cloud Object Storage services. Object storage is an emerging
+ technology that is different from traditional file systems
+ (e.g., NFS) or block device systems (e.g., iSCSI). Amazon S3
+ and Openstack* swift are well-known object storage solutions
+ """
+
+ homepage = "https://github.com/intel-cloud/cosbench"
+ url = "https://github.com/intel-cloud/cosbench/releases/download/v0.4.2/0.4.2.zip"
+
+ version('0.4.2', sha256='9e82518d4fac3c23cfac47c8a571d4a61bf8e5f11286606c79a0f923e983dc61')
+ version('0.4.1.0', sha256='a044cd232b3cc376802aa6a4a697988ec690a8b1d70040641710066acd322c5a')
+ version('0.4.0.1', sha256='384e4de218a9a61040f45cf9aa0a555e88ff25fb2b5cd11c540627cd604b4961')
+
+ depends_on('java@6:', type='run')
+ depends_on('curl@7.22.0:', type='run')
+
+ def install(self, spec, prefix):
+ install_tree('.', prefix)