concretizer: restrict maximizing variant values to MV variants (#20194)
This commit is contained in:

committed by
Tamara Dahlgren

parent
b4f79f3cb7
commit
a6d433b937
@@ -0,0 +1,11 @@
|
||||
# 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)
|
||||
class DepWithVariantsIfDevelopRoot(Package):
|
||||
"""Package that adds a dependency with many variants only at @develop"""
|
||||
homepage = "https://dev.null"
|
||||
|
||||
version('1.0')
|
||||
|
||||
depends_on('dep-with-variants-if-develop')
|
@@ -0,0 +1,12 @@
|
||||
# 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)
|
||||
class DepWithVariantsIfDevelop(Package):
|
||||
"""Package that adds a dependency with many variants only at @develop"""
|
||||
homepage = "https://dev.null"
|
||||
|
||||
version('develop')
|
||||
version('1.0')
|
||||
|
||||
depends_on('dep-with-variants', when='@develop')
|
Reference in New Issue
Block a user