summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-05-07 21:41:28 +0800
committerGitHub <noreply@github.com>2020-05-07 08:41:28 -0500
commit762e74e1e3d68b1f4d62b3c13ef3341be236e18e (patch)
tree2c8c01cfaac4f15c0317496cf37640f9f1f3d11a
parent14685ae552cba53173383941fb3af08c13657057 (diff)
downloadspack-762e74e1e3d68b1f4d62b3c13ef3341be236e18e.tar.gz
spack-762e74e1e3d68b1f4d62b3c13ef3341be236e18e.tar.bz2
spack-762e74e1e3d68b1f4d62b3c13ef3341be236e18e.tar.xz
spack-762e74e1e3d68b1f4d62b3c13ef3341be236e18e.zip
Add new package: ganglia (#16382)
* Add new package: ganglia * ganglia: fix the libexpat depends
-rw-r--r--var/spack/repos/builtin/packages/ganglia/package.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ganglia/package.py b/var/spack/repos/builtin/packages/ganglia/package.py
new file mode 100644
index 0000000000..ffccc3c14c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ganglia/package.py
@@ -0,0 +1,35 @@
+# Copyright 2013-2020 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 Ganglia(AutotoolsPackage):
+ """Ganglia is a scalable distributed monitoring system for high-performance
+ computing systems such as clusters and Grids. It is based on a hierarchical
+ design targeted at federations of clusters. Supports clusters up to 2000
+ nodes in size."""
+
+ homepage = "http://ganglia.sourceforge.net/"
+ url = "http://jaist.dl.sourceforge.net/project/ganglia/ganglia%20monitoring%20core/3.7.2/ganglia-3.7.2.tar.gz"
+ list_url = "http://jaist.dl.sourceforge.net/project/ganglia/ganglia%20monitoring%20core"
+ list_depth = 1
+
+ version('3.7.2', sha256='042dbcaf580a661b55ae4d9f9b3566230b2232169a0898e91a797a4c61888409')
+
+ depends_on('m4', type='build')
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('apr')
+ depends_on('libconfuse')
+ depends_on('python@:2.7.999')
+ depends_on('pcre')
+ depends_on('libtirpc')
+ depends_on('expat')
+
+ def setup_build_environment(self, env):
+ env.prepend_path('CPATH', self.spec['libtirpc'].prefix.include.tirpc)
+ env.append_flags('LDFLAGS', '-ltirpc')