diff options
author | ajpowelsnl <49000089+ajpowelsnl@users.noreply.github.com> | 2023-07-24 16:38:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-24 15:38:38 -0700 |
commit | 1c3dc0bd5f45d3b5e80163eabd6db102ea16cf32 (patch) | |
tree | 4e3ffd21198784a65306a8435df8055a07bef7a2 /var | |
parent | f28a2ccee2b2a851bf21f1467065db4ab61ce7a9 (diff) | |
download | spack-1c3dc0bd5f45d3b5e80163eabd6db102ea16cf32.tar.gz spack-1c3dc0bd5f45d3b5e80163eabd6db102ea16cf32.tar.bz2 spack-1c3dc0bd5f45d3b5e80163eabd6db102ea16cf32.tar.xz spack-1c3dc0bd5f45d3b5e80163eabd6db102ea16cf32.zip |
openmpi: add openshmem variant (#39067)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index 3f3d59dfa7..f520568f73 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -495,6 +495,7 @@ class Openmpi(AutotoolsPackage, CudaPackage): # Variants to use internal packages variant("internal-hwloc", default=False, description="Use internal hwloc") variant("internal-pmix", default=False, description="Use internal pmix") + variant("openshmem", default=False, description="Enable building OpenSHMEM") provides("mpi") provides("mpi@:2.2", when="@1.6.5") @@ -1039,6 +1040,9 @@ class Openmpi(AutotoolsPackage, CudaPackage): # Workaround compiler issues config_args.append("CFLAGS=-O1") + if "+openshmem" in spec: + config_args.append("--enable-oshmem") + if "+wrapper-rpath" in spec: config_args.append("--enable-wrapper-rpath") |