summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/goblin-hmc-sim/package.py
blob: b5182447a4436be4e1c573488e8ebfb61e02ef94 (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
28
29
30
# Copyright 2013-2024 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 GoblinHmcSim(MakefilePackage):
    """
    The Goblin HMC-Sim is a Hybrid Memory Cube
    Functional Simulation Environment
    """

    homepage = "https://github.com/tactcomplabs/gc64-hmcsim"
    git = "https://github.com/tactcomplabs/gc64-hmcsim"
    # The version numbers track the SST they were released with
    url = "https://github.com/tactcomplabs/gc64-hmcsim/archive/sst-8.0.0-release.tar.gz"
    # This works with parallel builds outside Spack
    # For some reason .o files get thrashed inside Spack
    parallel = False

    maintainers("jjwilke")

    license("BSD-2-Clause")

    version("8.0.0", sha256="8a5e6b701865a581f15965d3ddd8c7d301b15f4b63543c444058e9c3688fd2c8")

    def install(self, spec, prefix):
        install_tree(".", prefix)