openmpi: add openshmem variant (#39067)
This commit is contained in:
parent
f28a2ccee2
commit
1c3dc0bd5f
1 changed files with 4 additions and 0 deletions
|
@ -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 @@ def configure_args(self):
|
|||
# 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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue