hw-probe: new package at v1.5 (#22156)

This commit is contained in:
darmac 2021-03-09 16:37:52 +08:00 committed by GitHub
parent bf4c4e9b32
commit 2ba00262e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,20 @@
# Copyright 2013-2021 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 *
class HwProbe(MakefilePackage):
"""Hardware Probe Tool (hw-probe)."""
homepage = "https://github.com/linuxhw/hw-probe"
url = "https://github.com/linuxhw/hw-probe/archive/1.5.tar.gz"
version('1.5', sha256='8bb7d6ff272c1412e26fcfd86e9df5c3e34e1584552404b930c281b8498b25ea')
version('1.4', sha256='90f3ea83bf641348b209e4a2a910f65d836ae7828c0be0f660236ea413bc46bb')
version('1.3', sha256='820ada4f16cb827e0990eb918e75423845fef54a863fdd88aa5bd23127354229')
def install(self, spec, prefix):
make('install', 'prefix={0}'.format(prefix))