libfabric: add missing xpmem dependency (#49569)

This commit is contained in:
Richard Berger 2025-03-28 02:41:36 -06:00 committed by GitHub
parent d715b725fa
commit 01db307f41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,6 +131,7 @@ class Libfabric(AutotoolsPackage, CudaPackage):
depends_on("liburing@2.1:", when="+uring")
depends_on("oneapi-level-zero", when="+level_zero")
depends_on("libcxi", when="fabrics=cxi")
depends_on("xpmem", when="fabrics=xpmem")
depends_on("m4", when="@main", type="build")
depends_on("autoconf", when="@main", type="build")
@ -215,6 +216,9 @@ def configure_args(self):
args.append(f"--with-cxi-uapi-headers={self.spec['cxi-driver'].prefix.include}")
args.append(f"--enable-cxi={self.spec['libcxi'].prefix}")
if self.spec.satisfies("fabrics=xpmem"):
args.append(f"--enable-xpmem={self.spec['xpmem'].prefix}")
return args
def installcheck(self):