diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-24 09:11:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 20:11:21 -0500 |
commit | 15e75c03fff11b452b283fbcd7bb44e3b0dc8e48 (patch) | |
tree | af6e7faa5eac62e2125eedfdae7f4c89b6f5765a | |
parent | 733a8ee77b975abc356a1e4d46cd9b80a1b9a3d1 (diff) | |
download | spack-15e75c03fff11b452b283fbcd7bb44e3b0dc8e48.tar.gz spack-15e75c03fff11b452b283fbcd7bb44e3b0dc8e48.tar.bz2 spack-15e75c03fff11b452b283fbcd7bb44e3b0dc8e48.tar.xz spack-15e75c03fff11b452b283fbcd7bb44e3b0dc8e48.zip |
Add new package: systemtap (#18822)
-rw-r--r-- | var/spack/repos/builtin/packages/systemtap/package.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/systemtap/package.py b/var/spack/repos/builtin/packages/systemtap/package.py new file mode 100644 index 0000000000..00491e8dc4 --- /dev/null +++ b/var/spack/repos/builtin/packages/systemtap/package.py @@ -0,0 +1,30 @@ +# 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 Systemtap(AutotoolsPackage): + """SystemTap provides free software (GPL) infrastructure to + simplify the gathering of information about the running + Linux system. This assists diagnosis of a performance or + functional problem. SystemTap eliminates the need for the + developer to go through the tedious and disruptive instrument, + recompile, install, and reboot sequence that may be otherwise + required to collect data.""" + + homepage = "https://sourceware.org/systemtap/" + url = "https://sourceware.org/systemtap/ftp/releases/systemtap-4.3.tar.gz" + + version('4.3', sha256='f8e206ed654c13a8b42245a342c1b5a4aafdf817c97bf3becbe3c8a43a4489ce') + version('4.2', sha256='0984ebe3162274988252ec35074021dc1e8420d87a8b35f437578562fce08781') + version('4.1', sha256='8efa1ee2b34f1c6b2f33a25313287d59c8ed1b00265e900aea874da8baca1e1d') + + depends_on('gettext') + depends_on('elfutils') + + def configure_args(self): + args = ['LDFLAGS=-lintl'] + return args |