bc47a24bee
changes. The two Big Changes are elegance (much more re-use of code rather than cut-n-pasting the same code over and over and over and...) and enabling cross-compilation for F77 and F90 (because we actually have to *run* some compiled F77 and F90 programs for some of the tests, which obviously won't work in a cross-compilation environment -- so enable the use of config.cache to load such values in cross-compiling environments). This commit was SVN r8991.
36 строки
1.1 KiB
Bash
36 строки
1.1 KiB
Bash
#! /bin/sh
|
|
#
|
|
# Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
|
# University Research and Technology
|
|
# Corporation. All rights reserved.
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
# of Tennessee Research Foundation. All rights
|
|
# reserved.
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
# University of Stuttgart. All rights reserved.
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
# All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
max_array_rank="@OMPI_FORTRAN_MAX_ARRAY_RANK@"
|
|
|
|
lkinds="@OMPI_F90_LKINDS@"
|
|
ikinds="@OMPI_F90_IKINDS@"
|
|
rkinds="@OMPI_F90_RKINDS@"
|
|
ckinds="@OMPI_F90_CKINDS@"
|
|
|
|
# fix up for broken generation scripts that don't properly compute the
|
|
# ranks variable before using it
|
|
ranks="1"
|
|
rank="2"
|
|
while test "`expr $rank \\<= $max_array_rank`" = "1"; do
|
|
ranks="$ranks $rank"
|
|
rank="`expr $rank + 1`"
|
|
done
|
|
unset rank
|