summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2021-01-11 17:46:04 +0800
committerGitHub <noreply@github.com>2021-01-11 10:46:04 +0100
commitc199f37e94b1fed448ccab0cd78743f1ba8f3662 (patch)
tree586be90ccdbab1befaa15dc9b1a35f5c4b0aa717
parent9049829c8eeb5d14fc5059ba37c47ebab2a6a82e (diff)
downloadspack-c199f37e94b1fed448ccab0cd78743f1ba8f3662.tar.gz
spack-c199f37e94b1fed448ccab0cd78743f1ba8f3662.tar.bz2
spack-c199f37e94b1fed448ccab0cd78743f1ba8f3662.tar.xz
spack-c199f37e94b1fed448ccab0cd78743f1ba8f3662.zip
ply: added new package (#20764)
-rw-r--r--var/spack/repos/builtin/packages/ply/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ply/package.py b/var/spack/repos/builtin/packages/ply/package.py
new file mode 100644
index 0000000000..830a5ef718
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ply/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 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 Ply(AutotoolsPackage):
+ """A light-weight dynamic tracer for Linux that leverages the
+ kernel's BPF VM in concert with kprobes and tracepoints to attach
+ probes to arbitrary points in the kernel."""
+
+ homepage = "https://github.com/iovisor/ply"
+ git = "https://github.com/iovisor/ply.git"
+
+ version('2.1.1', commit='899afb0c35ba2191dd7aa21f13bc7fde2655c475')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+
+ def autoreconf(self, spec, prefix):
+ bash = which("bash")
+ bash('./autogen.sh')