diff options
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/openmpi/package.py')
-rw-r--r-- | var/spack/repos/builtin.mock/packages/openmpi/package.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/openmpi/package.py b/var/spack/repos/builtin.mock/packages/openmpi/package.py new file mode 100644 index 0000000000..0d02c314a6 --- /dev/null +++ b/var/spack/repos/builtin.mock/packages/openmpi/package.py @@ -0,0 +1,15 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Openmpi(Package): + version('4.1.1') + + variant('internal-hwloc', default=False) + variant('fabrics', values=any_combination_of('psm', 'mxm')) + + depends_on('hwloc', when="~internal-hwloc") |