summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-07-15 16:43:25 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-07-15 16:43:25 -0500
commit8c1cc44522b42bfb847c41522265eeee9511298d (patch)
tree8158c6109339a8a102c9010d42fb0eddab560cf9
parent077848fc0bcb844a88f5aa0dd55182013634ba6a (diff)
downloadspack-8c1cc44522b42bfb847c41522265eeee9511298d.tar.gz
spack-8c1cc44522b42bfb847c41522265eeee9511298d.tar.bz2
spack-8c1cc44522b42bfb847c41522265eeee9511298d.tar.xz
spack-8c1cc44522b42bfb847c41522265eeee9511298d.zip
Automatically add deptype to newly created packages
-rw-r--r--lib/spack/spack/cmd/create.py6
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')"
}