diff options
author | Justin M Wozniak <wozniak@mcs.anl.gov> | 2018-10-16 15:27:23 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-10-16 13:27:23 -0700 |
commit | 1597d6762902ba6ddc4af0255cb82f87c2ae616f (patch) | |
tree | c9f1667ee194ed46f306d54856f5692edbd3fd0c /var | |
parent | ef11d27f7f12f3b2f424545a29a0d96bd59713a4 (diff) | |
download | spack-1597d6762902ba6ddc4af0255cb82f87c2ae616f.tar.gz spack-1597d6762902ba6ddc4af0255cb82f87c2ae616f.tar.bz2 spack-1597d6762902ba6ddc4af0255cb82f87c2ae616f.tar.xz spack-1597d6762902ba6ddc4af0255cb82f87c2ae616f.zip |
stc and turbine: fix depends_on(type) (#9537)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/stc/package.py | 8 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/turbine/package.py | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/stc/package.py b/var/spack/repos/builtin/packages/stc/package.py index 2227b50c31..0f32f04d63 100644 --- a/var/spack/repos/builtin/packages/stc/package.py +++ b/var/spack/repos/builtin/packages/stc/package.py @@ -34,10 +34,10 @@ class Stc(AutotoolsPackage): version('0.8.2', '883b0657f1aac9b81158ef0a8989be4c') - depends_on('java') - depends_on('ant') - depends_on('turbine') - depends_on('zsh') + depends_on('java', type=('build', 'run')) + depends_on('ant', type='build') + depends_on('turbine', type=('build', 'run')) + depends_on('zsh', type=('build', 'run')) def configure_args(self): args = ['--with-turbine=' + self.spec['turbine'].prefix] diff --git a/var/spack/repos/builtin/packages/turbine/package.py b/var/spack/repos/builtin/packages/turbine/package.py index 75e3f67a7a..b5abaf337c 100644 --- a/var/spack/repos/builtin/packages/turbine/package.py +++ b/var/spack/repos/builtin/packages/turbine/package.py @@ -43,8 +43,8 @@ class Turbine(AutotoolsPackage): depends_on('adlbx@:0.8.0', when='@:1.1.0') depends_on('adlbx', when='@1.2.1:') depends_on('adlbx') - depends_on('tcl') - depends_on('zsh') + depends_on('tcl', type=('build', 'run')) + depends_on('zsh', type=('build', 'run')) depends_on('swig', type='build') depends_on('python', when='+python') depends_on('r', when='+r') |