summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Trahay <francois.trahay@telecom-sudparis.eu>2020-04-06 15:01:58 +0200
committerGitHub <noreply@github.com>2020-04-06 08:01:58 -0500
commit55d15fc07e28de32d458ab556775e82c7f8d8d11 (patch)
treea12218c254d401f708c5a39d75afd6ffe31668d0
parent06f3381dfd4355939350a6f20004fcebe3a25d24 (diff)
downloadspack-55d15fc07e28de32d458ab556775e82c7f8d8d11.tar.gz
spack-55d15fc07e28de32d458ab556775e82c7f8d8d11.tar.bz2
spack-55d15fc07e28de32d458ab556775e82c7f8d8d11.tar.xz
spack-55d15fc07e28de32d458ab556775e82c7f8d8d11.zip
new packages: libbacktrace, libpfm, numap, numamma (#15868)
* new packages: libbacktrace, libpfm, numap, numamma * numap: use the existing libpfm4 package * formatting
-rw-r--r--var/spack/repos/builtin/packages/libbacktrace/package.py23
-rw-r--r--var/spack/repos/builtin/packages/numamma/package.py29
-rw-r--r--var/spack/repos/builtin/packages/numap/package.py20
3 files changed, 72 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libbacktrace/package.py b/var/spack/repos/builtin/packages/libbacktrace/package.py
new file mode 100644
index 0000000000..64e5832114
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libbacktrace/package.py
@@ -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')
diff --git a/var/spack/repos/builtin/packages/numamma/package.py b/var/spack/repos/builtin/packages/numamma/package.py
new file mode 100644
index 0000000000..cc71495449
--- /dev/null
+++ b/var/spack/repos/builtin/packages/numamma/package.py
@@ -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
diff --git a/var/spack/repos/builtin/packages/numap/package.py b/var/spack/repos/builtin/packages/numap/package.py
new file mode 100644
index 0000000000..2df4cfd995
--- /dev/null
+++ b/var/spack/repos/builtin/packages/numap/package.py
@@ -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')