1
1
openmpi/contrib/platform/embedded/build_embedded.sh
Ralph Castain 22bb995439 Add platform files for embedded operations.
Update the slave platform file to specify script wrapper compilers.

This commit was SVN r20761.
2009-03-11 16:05:17 +00:00

20 строки
365 B
Bash
Исполняемый файл

#! /usr/bin/env bash
#
if (( $# < 2 )) ; then
echo "usage ./contrib/platform/embedded/build_embedded.sh prefix debug|optimized"
exit 1
fi
prefix=$1
shift 1
platform=$1
./configure --prefix="${prefix}" --with-platform=contrib/platform/embedded/"${platform}"
make clean > /dev/null
make -j2 all > /dev/null
make -j2 install > /dev/null
# All done
exit 0