blob: b5ce6abd3eba0c4ad9ce9e86893c14e7c7b124d8 (
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-2022 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 Numamma(CMakePackage):
"""NumaMMa is a lightweight memory profiler that reports the
memory access patterns of applications."""
homepage = "https://numamma.github.io/numamma/"
url = "https://github.com/numamma/numamma/archive/numamma-1.1.1.tar.gz"
maintainers = ['trahay']
version('1.1.1', sha256='f79ca22a95df33a1af529ddd653d043f7f0d32a6d196e559aee8bef8fc74771f')
depends_on('numap')
depends_on('libbacktrace')
depends_on('numactl')
depends_on('libelf')
def cmake_args(self):
spec = self.spec
cmake_args = [
"-DBACKTRACE_DIR:PATH={0}".format(spec["libbacktrace"].prefix)
]
return cmake_args
|