diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py index 9325b2504c..451c71d743 100644 --- a/var/spack/repos/builtin/packages/py-torch/package.py +++ b/var/spack/repos/builtin/packages/py-torch/package.py @@ -207,7 +207,7 @@ def enable_or_disable(variant, keyword='USE', var=None, newer=False): enable_or_disable('caffe2', keyword='BUILD', var='CAFFE2_OPS') enable_or_disable('gloo', newer=True) - enable_or_disable('gloo', var='GLOO_IBVERBS', newer=True) + enable_or_disable('gloo', var='IBVERBS', newer=True) enable_or_disable('opencv', newer=True) enable_or_disable('openmp', newer=True) enable_or_disable('ffmpeg', newer=True)