spack/var/spack/repos/builtin/packages/bonniepp/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

26 lines
902 B
Python

# Copyright 2013-2023 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 Bonniepp(AutotoolsPackage):
"""Bonnie++ is a benchmark suite that is aimed at performing a number of
simple tests of hard drive and file system performance."""
homepage = "https://doc.coker.com.au/projects/bonnie"
url = "https://www.coker.com.au/bonnie++/bonnie++-1.98.tgz"
version("1.98", sha256="6e0bcbc08b78856fd998dd7bcb352d4615a99c26c2dc83d5b8345b102bad0b04")
def configure_args(self):
configure_args = []
configure_args.append("--enable-debug")
return configure_args
def setup_run_environment(self, env):
"""Prepend the sbin directory to PATH."""
env.prepend_path("PATH", self.prefix.sbin)