Add new package: byte-unixbench (#18257)
* Add new package: byte-unixbench * refine install flow * Update var/spack/repos/builtin/packages/byte-unixbench/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
b0a1a7e9aa
commit
c4e966f162
1 changed files with 21 additions and 0 deletions
21
var/spack/repos/builtin/packages/byte-unixbench/package.py
Normal file
21
var/spack/repos/builtin/packages/byte-unixbench/package.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Copyright 2013-2020 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 ByteUnixbench(MakefilePackage):
|
||||
"""UnixBench is the original BYTE UNIX benchmark suite."""
|
||||
|
||||
homepage = "https://code.google.com/archive/p/byte-unixbench"
|
||||
url = "https://github.com/kdlucas/byte-unixbench/archive/v5.1.3.tar.gz"
|
||||
|
||||
version('5.1.3', sha256='3a6bb00f270a5329682dff20fd2c1ab5332ef046eb54a96a0d7bd371005d31a3')
|
||||
|
||||
build_directory = 'UnixBench'
|
||||
|
||||
def install(self, spec, prefix):
|
||||
with working_dir(self.build_directory):
|
||||
install_tree('.', prefix)
|
Loading…
Reference in a new issue