Throw errors if unavailable versions are requested
This commit is contained in:
@ -242,6 +242,7 @@ class Dune(CMakePackage):
|
|||||||
branch='master',
|
branch='master',
|
||||||
when='@master+gridglue',
|
when='@master+gridglue',
|
||||||
)
|
)
|
||||||
|
conflicts('dune@2.7', when='+gridglue')
|
||||||
|
|
||||||
# The dune-python package migrated to dune-common after the 2.7 release
|
# The dune-python package migrated to dune-common after the 2.7 release
|
||||||
resource(
|
resource(
|
||||||
@ -258,6 +259,7 @@ class Dune(CMakePackage):
|
|||||||
branch='bugfix/library-build',
|
branch='bugfix/library-build',
|
||||||
when='@master+pdelab',
|
when='@master+pdelab',
|
||||||
)
|
)
|
||||||
|
conflicts('dune@2.7', when='+pdelab')
|
||||||
|
|
||||||
# The dune-codegen package does not yet have a 2.7-compatible release
|
# The dune-codegen package does not yet have a 2.7-compatible release
|
||||||
resource(
|
resource(
|
||||||
@ -267,6 +269,7 @@ class Dune(CMakePackage):
|
|||||||
when='@master+codegen',
|
when='@master+codegen',
|
||||||
submodules=True,
|
submodules=True,
|
||||||
)
|
)
|
||||||
|
conflicts('dune@2.7', when='+codegen')
|
||||||
|
|
||||||
# Make sure that Python components integrate well into Spack
|
# Make sure that Python components integrate well into Spack
|
||||||
extends('python')
|
extends('python')
|
||||||
|
Reference in New Issue
Block a user