summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/memaxes/package.py
blob: b6a2f1651160b40cdde0e5cdd9a39990b5c300d2 (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
24
25
26
27
28
29
# 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 Memaxes(Package):
    """MemAxes is a visualizer for sampled memory trace data."""

    homepage = "https://github.com/llnl/MemAxes"

    license("LGPL-2.1-or-later")

    version(
        "0.5",
        sha256="9858f0f675b50e347d0b88545558e5d6b4333347c762b15d399b8d8004d7b68b",
        url="https://github.com/llnl/MemAxes/archive/v0.5.tar.gz",
    )

    depends_on("cmake@2.8.9:", type="build")
    depends_on("qt@5:")

    def install(self, spec, prefix):
        with working_dir("spack-build", create=True):
            cmake("..", *std_cmake_args)
            make()
            make("install")