sit/packages/mpi/ucx/ucx-1.17.0
Christoph Niethammer 0c4d2c6363 Add sit class file for UCX 1.17.0
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
2024-10-08 10:43:55 +02:00

43 lines
823 B
Bash
Executable file

#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2024
#
CATEGORY="mpi"
PACKAGE="ucx"
VERSION="1.17.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
}