2022-01-13 03:21:41 +08:00
|
|
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
|
2020-05-07 21:41:28 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2022-05-29 00:55:44 +08:00
|
|
|
from spack.package import *
|
2020-05-07 21:41:28 +08:00
|
|
|
|
|
|
|
|
|
|
|
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/"
|
2022-07-31 06:19:18 +08:00
|
|
|
url = "https://jaist.dl.sourceforge.net/project/ganglia/ganglia%20monitoring%20core/3.7.2/ganglia-3.7.2.tar.gz"
|
2020-05-07 21:41:28 +08:00
|
|
|
list_url = "http://jaist.dl.sourceforge.net/project/ganglia/ganglia%20monitoring%20core"
|
|
|
|
list_depth = 1
|
|
|
|
|
2022-07-31 06:19:18 +08:00
|
|
|
version("3.7.2", sha256="042dbcaf580a661b55ae4d9f9b3566230b2232169a0898e91a797a4c61888409")
|
2020-05-07 21:41:28 +08:00
|
|
|
|
2022-07-31 06:19:18 +08:00
|
|
|
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")
|
|
|
|
depends_on("pcre")
|
|
|
|
depends_on("libtirpc")
|
|
|
|
depends_on("expat")
|
2020-05-07 21:41:28 +08:00
|
|
|
|
|
|
|
def setup_build_environment(self, env):
|
2022-07-31 06:19:18 +08:00
|
|
|
env.prepend_path("CPATH", self.spec["libtirpc"].prefix.include.tirpc)
|
|
|
|
env.append_flags("LDFLAGS", "-ltirpc")
|