summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-05-12 09:56:59 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-05-12 09:56:59 -0700
commitcd5fa128c5d65bc169cec68b4333a67e70dacc4b (patch)
treefaa3fd37af09b5f8b3309e05fd99aca3bbd48598 /bin
parentef9deeccd173f29c28392ff0a0030ff48260b8a0 (diff)
downloadspack-cd5fa128c5d65bc169cec68b4333a67e70dacc4b.tar.gz
spack-cd5fa128c5d65bc169cec68b4333a67e70dacc4b.tar.bz2
spack-cd5fa128c5d65bc169cec68b4333a67e70dacc4b.tar.xz
spack-cd5fa128c5d65bc169cec68b4333a67e70dacc4b.zip
Work on SPACK-41: Optional dependencies work for simple conditions.
- Can depend conditionally based on variant, compiler, arch, deps, etc - normalize() is not iterative yet: no chaining depends_ons - really need a SAT solver, but iterative will at least handle simple cases. - Added "strict" option to Spec.satisfies() - strict checks that ALL of other's constraints are met (not just the ones self shares) - Consider splitting these out into two methods: could_satisfy() and satisfies() - didn't do this yet as it would require changing code that uses satisfies() - Changed semantics of __contains__ to use strict satisfaction (SPACK-56) - Added tests for optional dependencies. - The constrain() method on Specs, compilers, versions, etc. now returns whether the spec changed as a result of the call.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions