summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/tiptop/package.py
blob: 6848c1adf46826f5cc698d58153387b39e5c6d2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2024 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.package import *


class Tiptop(AutotoolsPackage):
    """Tiptop is a performance monitoring tool for Linux."""

    homepage = "https://github.com/FeCastle/tiptop"
    git = "https://github.com/FeCastle/tiptop.git"

    license("GPL-2.0")

    version("master", commit="529886d445ec32febad14246245372a8f244b3eb")

    depends_on("papi")
    depends_on("byacc", type="build")
    depends_on("flex", type="build")

    patch("NR_perf_counter_open_aarch64.patch", when="target=aarch64:")