diff --git a/packages/mpi/ucx/ucx-1.17.0 b/packages/mpi/ucx/ucx-1.17.0 new file mode 100755 index 0000000..a17fecd --- /dev/null +++ b/packages/mpi/ucx/ucx-1.17.0 @@ -0,0 +1,43 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2024 +# + +CATEGORY="mpi" +PACKAGE="ucx" +VERSION="1.17.0" +URL="https://www.openucx.org" +INSTALLER="Christoph Niethammer " + +# 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 +}