2022-01-12 11:21:41 -08:00
|
|
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
|
2018-10-07 13:52:23 -07:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2014-01-12 18:19:18 +01:00
|
|
|
#
|
2018-10-07 13:52:23 -07:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2013-10-17 14:46:00 -07:00
|
|
|
from spack import *
|
|
|
|
|
2016-08-10 01:50:00 -07:00
|
|
|
|
2013-10-17 14:46:00 -07:00
|
|
|
class Callpath(Package):
|
|
|
|
homepage = "https://github.com/tgamblin/callpath"
|
2013-12-20 14:30:45 -08:00
|
|
|
url = "http://github.com/tgamblin/callpath-1.0.tar.gz"
|
2013-10-17 14:46:00 -07:00
|
|
|
|
2021-09-08 07:59:06 -07:00
|
|
|
version(0.8, '0123456789abcdef0123456789abcdef')
|
|
|
|
version(0.9, '0123456789abcdef0123456789abcdef')
|
|
|
|
version(1.0, '0123456789abcdef0123456789abcdef')
|
2013-10-26 14:04:09 -07:00
|
|
|
|
2013-10-17 14:46:00 -07:00
|
|
|
depends_on("dyninst")
|
2013-12-07 13:51:46 -08:00
|
|
|
depends_on("mpi")
|
2013-10-17 14:46:00 -07:00
|
|
|
|
2013-12-25 17:19:51 -08:00
|
|
|
def install(self, spec, prefix):
|
2013-10-17 14:46:00 -07:00
|
|
|
configure("--prefix=%s" % prefix)
|
|
|
|
make()
|
|
|
|
make("install")
|
2017-02-11 01:09:43 +01:00
|
|
|
|
|
|
|
def setup_environment(self, senv, renv):
|
|
|
|
renv.set('FOOBAR', self.name)
|