summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-05-12 12:24:30 -0400
committerGitHub <noreply@github.com>2020-05-12 11:24:30 -0500
commite36aa96392eb4c1488478a846410fd915cb75167 (patch)
tree6896fa5a26cd0ccce54496530865b9eecac64719
parent7813e4146459f9460f0e6c0d6809d055130e903b (diff)
downloadspack-e36aa96392eb4c1488478a846410fd915cb75167.tar.gz
spack-e36aa96392eb4c1488478a846410fd915cb75167.tar.bz2
spack-e36aa96392eb4c1488478a846410fd915cb75167.tar.xz
spack-e36aa96392eb4c1488478a846410fd915cb75167.zip
py-horovod: link dependency for py-torch (#16600)
fix for same reasons as #16495.
-rw-r--r--var/spack/repos/builtin/packages/py-horovod/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-horovod/package.py b/var/spack/repos/builtin/packages/py-horovod/package.py
index c740486853..955e68ff1a 100644
--- a/var/spack/repos/builtin/packages/py-horovod/package.py
+++ b/var/spack/repos/builtin/packages/py-horovod/package.py
@@ -46,7 +46,7 @@ class PyHorovod(PythonPackage):
# Framework dependencies
depends_on('py-tensorflow@1.1.0:', type=('build', 'link', 'run'), when='frameworks=tensorflow')
- depends_on('py-torch@0.4.0:', type=('build', 'run'), when='frameworks=pytorch')
+ depends_on('py-torch@0.4.0:', type=('build', 'link', 'run'), when='frameworks=pytorch')
depends_on('py-torchvision', type=('build', 'run'), when='frameworks=pytorch')
depends_on('py-cffi@1.4.0:', type=('build', 'run'), when='frameworks=pytorch')
depends_on('mxnet@1.4.1:+python', type=('build', 'link', 'run'), when='frameworks=mxnet')