blob: 643944a6f7889eefac91c50487fdf76955bc95c4 (
plain) (
tree)
|
|
# 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 ConditionalProvider(Package):
"""Mimic the real netlib-lapack, that may be built on top of an
optimized blas.
"""
homepage = "https://dev.null"
version('1.0')
variant('disable-v1', default=False, description='nope')
provides('v2')
provides('v1', when='~disable-v1')
depends_on('v1', when='+disable-v1')
|