summaryrefslogtreecommitdiff
path: root/lib/spack/docs/packaging_tutorial/3.package.py
blob: 6e7e5e2f3c5adc61fd0fcaa026c4ff2b774b61e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# flake8: noqa

class Mpileaks(AutotoolsPackage):
    """Tool to detect and report MPI objects like MPI_Requests and MPI_Datatypes"""
    homepage = "https://github.com/hpc/mpileaks"
    url      = "https://github.com/hpc/mpileaks/releases/download/v1.0/mpileaks-1.0.tar.gz"

    version('1.0', '8838c574b39202a57d7c2d68692718aa')

    depends_on('mpi')
    depends_on('adept-utils')
    depends_on('callpath')

    def configure_args(self):
       args = ['--with-adept-utils=%s' % self.spec['adept-utils'].prefix,
               '--with-callpath=%s' % self.spec['callpath'].prefix]
       return args