Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] PkgSrc build of 1.8.1 gives a portability error
From: Ralph Castain (rhc_at_[hidden])
Date: 2014-07-18 14:25:05


Hmmm....ick, we use the old -a and -o in a number of places. I'll start slowly cleaning them up.

Thanks Bert!

On Jul 16, 2014, at 11:28 PM, Bert Wesarg <Bert.Wesarg_at_[hidden]> wrote:

> On 07/17/2014 06:32 AM, Kevin Buckley wrote:
>> => Checking for portability problems in extracted files
>> ERROR: [check-portability.awk] => Found test ... == ...:
>> ERROR: [check-portability.awk] configure: if test "$enable_oshmem" ==
>> "yes" -a "$ompi_fortran_happy" == "1" -a \
>
> Autoconf also avoids the '-a' and '-o' flag from 'test' because of portability reasons:
>
> http://www.hep.by/gnu/autoconf/Limitations-of-Builtins.html#index-g_t_0040command_007btest_007d-1725
>
> Bert
>
> --
> Dipl.-Inf. Bert Wesarg
> wiss. Mitarbeiter
>
> Technische Universität Dresden
> Zentrum für Informationsdienste und Hochleistungsrechnen (ZIH)
> 01062 Dresden
> Tel.: +49 (351) 463-42451
> Fax: +49 (351) 463-37773
> E-Mail: bert.wesarg_at_[hidden]
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: http://www.open-mpi.org/community/lists/devel/2014/07/15189.php