diff options
author | Denis Davydov <davydden@gmail.com> | 2017-05-01 22:58:24 +0200 |
---|---|---|
committer | Denis Davydov <davydden@gmail.com> | 2017-05-01 22:58:24 +0200 |
commit | ef5da08f80bec4be4d62e1d16165a9b19ec0ebdf (patch) | |
tree | 89c5f9dc361de2452df90e0fa86424168fc21ff0 /lib | |
parent | c86b53a73fca0a7d14b5a44c69034bbdd619025e (diff) | |
download | spack-ef5da08f80bec4be4d62e1d16165a9b19ec0ebdf.tar.gz spack-ef5da08f80bec4be4d62e1d16165a9b19ec0ebdf.tar.bz2 spack-ef5da08f80bec4be4d62e1d16165a9b19ec0ebdf.tar.xz spack-ef5da08f80bec4be4d62e1d16165a9b19ec0ebdf.zip |
only add direct build-only dependencies to PATH
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py index 2ac935291d..c3f887fd69 100644 --- a/lib/spack/spack/build_environment.py +++ b/lib/spack/spack/build_environment.py @@ -248,7 +248,7 @@ def set_build_environment_variables(pkg, env, dirty=False): dirty (bool): Skip unsetting the user's environment settings """ # Gather information about various types of dependencies - build_deps = pkg.spec.traverse(root=False, deptype=('build')) + build_deps = pkg.spec.dependencies(deptype='build') link_deps = pkg.spec.traverse(root=False, deptype=('link')) build_link_deps = pkg.spec.traverse(root=False, deptype=('build', 'link')) rpath_deps = get_rpath_deps(pkg) |