PKGNAME=ucx
PKGSEC=libs
PKGDEP="rdma-core fuse-3"
BUILDDEP__AMD64="${BUILDDEP} cuda valgrind"
BUILDDEP__ARM64="${BUILDDEP} cuda valgrind"
PKGDES="A communication framework for high-bandwidth and low-latency networks"
PKGSUG="cuda"

AUTOTOOLS_AFTER="--prefix=/usr \
		 --enable-mt \
		 --enable-cma \
  		 --disable-params-check \
		 --with-rdmacm \
		 --with-verbs \
		 --with-mlx5-dv \
		 --with-rc \
		 --with-ud \
		 --with-dc \
		 --without-go \
		 --without-java"
AUTOTOOLS_AFTER__AMD64="${AUTOTOOLS_AFTER} --with-valgrind --with-cuda=/usr/lib/cuda"
AUTOTOOLS_AFTER__ARM64="${AUTOTOOLS_AFTER} --with-valgrind --with-cuda=/usr/lib/cuda"

# FIXME: Upstream support is currently limited to the following architectures.
FAIL_ARCH="!(amd64|arm64|ppc64el)"
