spack/var/spack/repos/builtin/packages/numamma/package.py
François Trahay 55d15fc07e
new packages: libbacktrace, libpfm, numap, numamma (#15868)
* new packages: libbacktrace, libpfm, numap, numamma

* numap: use the existing libpfm4 package

* formatting
2020-04-06 08:01:58 -05:00

30 lines
913 B
Python

# 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 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