spack/lib/spack
Peter Scheibel f31711b84e concretization: don't apply build-dep constraints for installed packages (#11594)
Spack currently tries to unify everything in the DAG, but this is too strict for build dependencies, where it is fine to build a dependency with a tool that conflicts with a version fo that tool for a dependent's build.

To enable a workaround for conflicts among build dependencies, so that users can install in multiple steps to avoid these conflicts, make the following changes:

* Dont apply package dependency constraints for build deps of installed packages
* Avoid applying constraints for installed packages vs. concrete packages
* Mark all dependencies of installed packages as visited in normalization method
* don't remove dependency links for concrete specs in flat_dependencies

Also add tests:
* Update test to ensure that link dependencies of installed packages have constraints applied
* Add test to check for proper handling of transitive dependencies (which is currently not the case)
2019-06-08 11:43:26 -07:00
..
docs Cap the maximum number of build jobs (#11373) 2019-05-28 06:42:04 -07:00
env Add Fujitsu compiler to Spack. (#11287) 2019-05-21 20:31:14 -05:00
external copyright: update license headers for 2013-2019 copyright. 2019-01-01 00:44:28 -08:00
llnl Compiler search uses a pool of workers (#10190) 2019-06-07 09:57:26 -07:00
spack concretization: don't apply build-dep constraints for installed packages (#11594) 2019-06-08 11:43:26 -07:00