UCX: use updatd mlx5-dv arg for mlx5_dv variant (#50091)

the configure arg to use for the mlx5_dv changed from
UCX 1.17 to 1.18.

Related to #50086

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
This commit is contained in:
Howard Pritchard 2025-05-05 14:47:10 -06:00 committed by GitHub
parent 38829b01df
commit 99d06b95a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -198,11 +198,18 @@ def configure_args(self):
args += self.with_or_without("gdrcopy", activation_value="prefix")
args += self.with_or_without("ib-hw-tm", variant="ib_hw_tm")
args += self.with_or_without("knem", activation_value="prefix")
args += self.with_or_without("mlx5-dv", variant="mlx5_dv")
args += self.with_or_without("rc")
args += self.with_or_without("ud")
args += self.with_or_without("xpmem", activation_value="prefix")
# mlx5_dv
# UCX <= 1.17: --with-mlx5-dv
# UCX >= 1.18: --with-mlx5
if spec.satisfies("@:1.17"):
args += self.with_or_without("mlx5-dv", variant="mlx5_dv")
else:
args += self.with_or_without("mlx5", variant="mlx5_dv")
# Virtual filesystem as of UCX 1.11
if "+vfs" in spec:
args.append("--with-fuse3=" + self.spec["libfuse"].prefix)