Updated to use the --disable-fortran option.

This commit is contained in:
kolev1 2010-01-27 20:14:14 +00:00
parent 30467de862
commit 45f7154092

View File

@ -45,16 +45,12 @@ mkdir -p $output_dir
src_dir=$1 src_dir=$1
shift shift
# Make sure that we don't check for a working Fortran compiler. # Make sure that we don't check for a working Fortran compiler
cd $src_dir copts=--disable-fortran
mv configure configure.orig
sed -e 's/hypre_using_fortran=yes/hypre_using_fortran=no/g' configure.orig > configure
chmod a+x configure
export CXX="mpicxx" export CXX="mpicxx"
cd $test_dir
# Test runtest tests # Test runtest tests
./test.sh default.sh $src_dir ./test.sh default.sh $src_dir $copts
mv -f default.??? $output_dir mv -f default.??? $output_dir
# Test linking for different languages # Test linking for different languages
@ -71,7 +67,7 @@ done
configure_opts="--enable-debug" configure_opts="--enable-debug"
for opt in $configure_opts for opt in $configure_opts
do do
./test.sh configure.sh $src_dir $opt ./test.sh configure.sh $src_dir $opt $copts
output_subdir=$output_dir/build$opt output_subdir=$output_dir/build$opt
mkdir -p $output_subdir mkdir -p $output_subdir
mv -f configure.??? $output_subdir mv -f configure.??? $output_subdir