summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/sst-transports/package.py
blob: 089f77e5522f6e471182a3e7febfd818607d25e5 (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
25
26
27
# Copyright 2013-2023 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.package import *


class SstTransports(CMakePackage):
    """Provides transports like uGNI and verbs
    that run in the simulator"""

    homepage = "https://github.com/sstsimulator"
    git = "https://github.com/jjwilke/sst-transports.git"

    maintainers("jjwilke")

    license("BSD-3-Clause")

    version("master", branch="master")

    depends_on("sst-macro")

    def cmake_args(self):
        args = []
        args.append("-DSSTMacro_ROOT=%s" % self.spec["sst-macro"].prefix)
        return args