Add sit class file for UCX 1.16.0

Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
This commit is contained in:
Christoph Niethammer 2024-10-07 16:21:49 +02:00
parent 9aa5308a0a
commit 8cc5bf4062

43
packages/mpi/ucx/ucx-1.16.0 Executable file
View file

@ -0,0 +1,43 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2024
#
CATEGORY="mpi"
PACKAGE="ucx"
VERSION="1.16.0"
URL="https://www.openucx.org"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
# Archive A and package name P
A="$PACKAGE-$VERSION.tar.gz"
P="$PACKAGE-$VERSION"
HASH_MD5=
HASH_SHA1=
# Other interesting configure options:
CONFIGURE_OPTS="
--enable-shared \
--enable-static \
--enable-mt \
"
if [ ! -z $CUDA_DIR ] ; then
CONFIGURE_OPTS+=" --with-cuda=$CUDA_DIR"
fi
if [ ! -z $XPMEM_DIR ] ; then
CONFIGURE_OPTS+=" --with-xpmem=$XPMEM_DIR"
fi
src_configure() {
${SRCDIR}/contrib/configure-release --prefix=$PREFIX $CONFIGURE_OPTS
if [ ! -z $LOGDIR -a -f config.log ] ; then
cp config.log $LOGDIR
fi
}
src_pretest() {
make check
}