diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-07-15 16:43:25 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2016-07-15 16:43:25 -0500 |
commit | 8c1cc44522b42bfb847c41522265eeee9511298d (patch) | |
tree | 8158c6109339a8a102c9010d42fb0eddab560cf9 /lib | |
parent | 077848fc0bcb844a88f5aa0dd55182013634ba6a (diff) | |
download | spack-8c1cc44522b42bfb847c41522265eeee9511298d.tar.gz spack-8c1cc44522b42bfb847c41522265eeee9511298d.tar.bz2 spack-8c1cc44522b42bfb847c41522265eeee9511298d.tar.xz spack-8c1cc44522b42bfb847c41522265eeee9511298d.zip |
Automatically add deptype to newly created packages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/cmd/create.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py index 18c748e483..c9fa687b74 100644 --- a/lib/spack/spack/cmd/create.py +++ b/lib/spack/spack/cmd/create.py @@ -142,9 +142,9 @@ class ConfigureGuesser(object): # Build dependencies and extensions dependenciesDict = { 'autotools': "# depends_on('foo')", - 'cmake': "depends_on('cmake')", - 'scons': "depends_on('scons')", - 'python': "extends('python')", + 'cmake': "depends_on('cmake', type='build')", + 'scons': "depends_on('scons', type='build')", + 'python': "extends('python', type=nolink)", 'R': "extends('R')", 'unknown': "# depends_on('foo')" } |