summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hotspot/package.py
blob: 2d9d0a0cf6465b28f4b8ec140347f3158c46f0fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 Hotspot(MakefilePackage):
    """HotSpot is an accurate and fast thermal model suitable for use ini
    architectural studies."""

    homepage = "http://lava.cs.virginia.edu/HotSpot/index.htm"
    git = "https://github.com/uvahotspot/HotSpot.git"

    version("6.0", commit="a7a3286e368867c26381e0a23e36b3e273bdeda9")

    def install(self, spec, prefix):
        mkdir(prefix.bin)
        install("hotspot", prefix.bin)
        install("hotfloorplan", prefix.bin)