blob: 1eff5f6451ced1ccb04062c1ce1e0a0a9951f21e (
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
|
# Copyright 2013-2018 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 EverytraceExample(CMakePackage):
"""Get stack trace EVERY time a program exits."""
homepage = "https://github.com/citibeth/everytrace-example"
git = "https://github.com/citibeth/everytrace-example.git"
version('develop', branch='develop')
depends_on('everytrace+mpi+fortran')
# Currently the only MPI this everytrace works with.
depends_on('openmpi')
def setup_environment(self, spack_env, run_env):
run_env.prepend_path('PATH', join_path(self.prefix, 'bin'))
|