40a2bfa238
This merges the branch containing the revamped build system based around converting autogen from a bash script to a Perl program. Jeff has provided emails explaining the features contained in the change. Please note that configure requirements on components HAVE CHANGED. For example. a configure.params file is no longer required in each component directory. See Jeff's emails for an explanation. This commit was SVN r23764.
21 строка
385 B
Bash
Исполняемый файл
21 строка
385 B
Bash
Исполняемый файл
#! /usr/bin/env bash
|
|
#
|
|
|
|
if (( $# < 2 )) ; then
|
|
echo "usage ./contrib/platform/embedded/gen_embedded.sh prefix debug|optimized"
|
|
exit 1
|
|
fi
|
|
|
|
prefix=$1
|
|
shift 1
|
|
platform=$1
|
|
|
|
./autogen.pl -no-ompi
|
|
./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
|