# Copyright 2013-2019 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'))