1
1
Refs: #3887 reviewer=ompi-rm1.7

This commit was SVN r29647.
Этот коммит содержится в:
Mike Dubman 2013-11-09 15:41:31 +00:00
родитель d594ffbfc7
Коммит be80ade431
7 изменённых файлов: 16 добавлений и 10 удалений

Просмотреть файл

@ -1342,11 +1342,11 @@ AC_CONFIG_FILES([
contrib/Makefile contrib/Makefile
contrib/dist/linux/compile_debian_mlnx_example contrib/dist/mofed/compile_debian_mlnx_example
contrib/dist/linux/debian/changelog contrib/dist/mofed/debian/changelog
contrib/dist/linux/debian/rules contrib/dist/mofed/debian/rules
contrib/dist/linux/debian/control contrib/dist/mofed/debian/control
contrib/dist/linux/debian/copyright:LICENSE contrib/dist/mofed/debian/copyright:LICENSE
test/Makefile test/Makefile
test/event/Makefile test/event/Makefile
@ -1357,8 +1357,8 @@ AC_CONFIG_FILES([
test/threads/Makefile test/threads/Makefile
test/util/Makefile test/util/Makefile
],[ ],[
chmod +x contrib/dist/linux/debian/rules chmod +x contrib/dist/mofed/debian/rules
chmod +x contrib/dist/linux/compile_debian_mlnx_example chmod +x contrib/dist/mofed/compile_debian_mlnx_example
]) ])
OPAL_CONFIG_FILES OPAL_CONFIG_FILES

Просмотреть файл

@ -1,3 +1,5 @@
#!/bin/sh
MYDIR=$(dirname $0)
INSTALL_DIR=${INSTALL_DIR:-/usr/mpi/gcc} INSTALL_DIR=${INSTALL_DIR:-/usr/mpi/gcc}
PREFIX=${INSTALL_DIR}/openmpi-@OMPI_MAJOR_VERSION@.@OMPI_MINOR_VERSION@.@OMPI_RELEASE_VERSION@ PREFIX=${INSTALL_DIR}/openmpi-@OMPI_MAJOR_VERSION@.@OMPI_MINOR_VERSION@.@OMPI_RELEASE_VERSION@
@ -5,11 +7,15 @@ MXM_PATH=${MXM_PATH:-/opt/mellanox/mxm}
FCA_PATH=${FCA_PATH:-/opt/mellanox/fca} FCA_PATH=${FCA_PATH:-/opt/mellanox/fca}
KNEM_PATH=${KNEM_PATH:-/opt/knem-1.0.90mlnx2} KNEM_PATH=${KNEM_PATH:-/opt/knem-1.0.90mlnx2}
if [ ! -f AUTHORS ]; then
echo Please run from ompi root folder
exit 1
fi
[ -d $MXM_PATH ] && WITH_MXM="--with-mxm=$MXM_PATH" [ -d $MXM_PATH ] && WITH_MXM="--with-mxm=$MXM_PATH"
[ -d $FCA_PATH ] && WITH_FCA="--with-fca=$FCA_PATH" [ -d $FCA_PATH ] && WITH_FCA="--with-fca=$FCA_PATH"
[ -d $KNEM_PATH ] && WITH_KNEM="--with-knem=$KNEM_PATH" [ -d $KNEM_PATH ] && WITH_KNEM="--with-knem=$KNEM_PATH"
CONFIG_ARGS=${CONFIG_ARGS:-"--prefix=$PREFIX --libdir=$OMPI_PREFIX/lib64 --with-platform=contrib/platform/mellanox/optimized $WITH_MXM $WITH_FCA $WITH_KNEM"} export CONFIG_ARGS=${CONFIG_ARGS:-"--prefix=$PREFIX --libdir=$OMPI_PREFIX/lib64 --with-platform=contrib/platform/mellanox/optimized $WITH_MXM $WITH_FCA $WITH_KNEM"}
export CONFIG_ARGS cp -a ${MYDIR}/debian .
cp -a contrib/dist/linux/debian .
dpkg-buildpackage -us -uc dpkg-buildpackage -us -uc

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл