26 lines
862 B
Python
26 lines
862 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 LibpressioErrorinjector(CMakePackage):
|
|
"""LibPressioErrorInjector injects errors into data for sensitivity studies"""
|
|
|
|
homepage = "https://github.com/robertu94/libpressio-errorinjector"
|
|
git = "https://github.com/robertu94/libpressio-errorinjector"
|
|
|
|
maintainers("robertu94")
|
|
|
|
version("0.8.0", commit="0bfac9a06b1ae34a872b8b599dd4ccb46aa2db4e")
|
|
version("0.7.0", commit="0b5a5b15121be248a3e5af925f9ad88b3d43fef6")
|
|
|
|
depends_on("libpressio@0.88.0:", when="@0.8.0:")
|
|
depends_on("libpressio@:0.87.0", when="@:0.7.0")
|
|
|
|
def cmake_args(self):
|
|
args = ["-DBUILD_TESTING=OFF"]
|
|
return args
|