new packages: libbacktrace, libpfm, numap, numamma (#15868)
* new packages: libbacktrace, libpfm, numap, numamma * numap: use the existing libpfm4 package * formatting
This commit is contained in:
parent
06f3381dfd
commit
55d15fc07e
23
var/spack/repos/builtin/packages/libbacktrace/package.py
Normal file
23
var/spack/repos/builtin/packages/libbacktrace/package.py
Normal file
@ -0,0 +1,23 @@
|
||||
# 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 Libbacktrace(AutotoolsPackage):
|
||||
"""A C library that may be linked into a C/C++ program to produce
|
||||
symbolic backtraces."""
|
||||
|
||||
homepage = "https://github.com/ianlancetaylor/libbacktrace"
|
||||
git = "https://github.com/ianlancetaylor/libbacktrace.git"
|
||||
maintainers = ['trahay']
|
||||
|
||||
version('master', branch='master')
|
||||
version('2020-02-19', commit='ca0de0517f3be44fedf5a2c01cfaf6437d4cae68')
|
||||
|
||||
depends_on('autoconf', type='build')
|
||||
depends_on('automake', type='build')
|
||||
depends_on('libtool', type='build')
|
||||
depends_on('m4', type='build')
|
29
var/spack/repos/builtin/packages/numamma/package.py
Normal file
29
var/spack/repos/builtin/packages/numamma/package.py
Normal file
@ -0,0 +1,29 @@
|
||||
# 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
|
20
var/spack/repos/builtin/packages/numap/package.py
Normal file
20
var/spack/repos/builtin/packages/numap/package.py
Normal file
@ -0,0 +1,20 @@
|
||||
# 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 Numap(CMakePackage):
|
||||
"""Numap is a Linux library dedicated to memory profiling based on
|
||||
hardware performance monitoring unit (PMU)."""
|
||||
|
||||
homepage = "https://github.com/numap-library/numap"
|
||||
git = "https://github.com/numap-library/numap.git"
|
||||
maintainers = ['trahay']
|
||||
|
||||
version('master', branch='master')
|
||||
version('2019-09-06', commit='ffcdb88c64b59b7a3220eb1077d2b237029ca96a')
|
||||
|
||||
depends_on('libpfm4')
|
Loading…
Reference in New Issue
Block a user