Update concretize to check for more changes and iterate further.

This commit is contained in:
Todd Gamblin
2015-07-16 01:12:11 -07:00
parent 9087f26537
commit e097696390
4 changed files with 82 additions and 29 deletions

View File

@@ -0,0 +1,17 @@
from spack import *
class OptionalDepTest3(Package):
"""Depends on the optional-dep-test package"""
homepage = "http://www.example.com"
url = "http://www.example.com/optional-dep-test-3-1.0.tar.gz"
version('1.0', '0123456789abcdef0123456789abcdef')
variant('var', default=False)
depends_on('a', when='~var')
depends_on('b', when='+var')
def install(self, spec, prefix):
pass