44 lines
823 B
Text
44 lines
823 B
Text
|
#!/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
|
||
|
}
|