openmpi: add ipv6 variant (#49727)
This commit is contained in:
parent
52a995a95c
commit
d715b725fa
@ -558,6 +558,7 @@ class Openmpi(AutotoolsPackage, CudaPackage):
|
||||
when="@1.3:4",
|
||||
description="Prefix Open MPI to PATH and LD_LIBRARY_PATH on local and remote hosts",
|
||||
)
|
||||
variant("ipv6", default=False, when="@4:", description="Enable IPv6 support")
|
||||
# Adding support to build a debug version of OpenMPI that activates
|
||||
# Memchecker, as described here:
|
||||
#
|
||||
@ -1065,6 +1066,10 @@ def configure_args(self):
|
||||
if spec.satisfies("+orterunprefix"):
|
||||
config_args.append("--enable-orterun-prefix-by-default")
|
||||
|
||||
# Enable IPv6 support
|
||||
if spec.satisfies("+ipv6"):
|
||||
config_args.append("--enable-ipv6")
|
||||
|
||||
# some scientific packages ignore deprecated/remove symbols. Re-enable
|
||||
# them for now, for discussion see
|
||||
# https://github.com/open-mpi/ompi/issues/6114#issuecomment-446279495
|
||||
|
Loading…
Reference in New Issue
Block a user