summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hotspot/package.py
blob: e8484045c51a3d8f617c63760af52c55471a610a (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-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.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)