summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/templight-tools/package.py
blob: 662a1b57bebbfe1cd7966d4ac1479c2c56e93e1a (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
# Copyright 2013-2022 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 *
from spack.pkg.builtin.boost import Boost


class TemplightTools(CMakePackage):
    """Supporting tools for the Templight Profiler"""

    homepage = "https://github.com/mikael-s-persson/templight-tools"
    git      = "https://github.com/mikael-s-persson/templight-tools.git"

    version('develop', branch='master')

    depends_on('cmake @2.8.7:', type='build')
    depends_on('boost @1.48.1: +filesystem +graph +program_options +test')

    # TODO: replace this with an explicit list of components of Boost,
    # for instance depends_on('boost +filesystem')
    # See https://github.com/spack/spack/pull/22303 for reference
    depends_on(Boost.with_default_variants)