summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ply/package.py
blob: 64c82351068e60c756bbf647fa329820f9cf4166 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2013-2023 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.package 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")