ommitted as r27615. Let me know if there are any more issues.
>
> -Nathan
>
>
> From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of
> Ralph Castain [r...@open-mpi.org]
> Sent: Thursday, November 15, 2012 8:53 AM
> To:
Why did we just add a version check for m4?
>>>>>
>>>>> Sent from my phone. No type good.
>>>>>
>>>>> On Nov 15, 2012, at 9:43 AM, "Hjelm, Nathan T" <hje...@lanl.gov> wrote:
>>>>>
>>>>>&g
.@lanl.gov> wrote:
>>>>
>>>>> Committed as r27615. Let me know if there are any more issues.
>>>>>
>>>>> -Nathan
>>>>>
>>>>>
>>>>> From: devel-boun...@o
rote:
>>>
>>>> Committed as r27615. Let me know if there are any more issues.
>>>>
>>>> -Nathan
>>>>
>>>> ________________
>>>> From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on beh
lt;hje...@lanl.gov> wrote:
>>
>>> Committed as r27615. Let me know if there are any more issues.
>>>
>>> -Nathan
>>>
>>>
>>> From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of
>>> Ralph Castain [r...
devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of
> Ralph Castain [r...@open-mpi.org]
> Sent: Thursday, November 15, 2012 10:01 AM
> To: Open MPI Developers
> Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk
>
> Just an FYI: on the Mac ML
To: Open MPI Developers
Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk
Just an FYI: on the Mac ML, I see this:
Searching for m4
Found m4 version 4; checking version...
Found version component 4 -- need 1
$ m4 --version
m4 (GNU M4) 1.4.16
Looks like the parser
>> -Nathan
>>
>>
>> From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of
>> Ralph Castain [r...@open-mpi.org]
>> Sent: Thursday, November 15, 2012 8:53 AM
>> To: Open MPI Developers
>> Su
el-boun...@open-mpi.org] on behalf of
> Ralph Castain [r...@open-mpi.org]
> Sent: Thursday, November 15, 2012 8:53 AM
> To: Open MPI Developers
> Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk
>
> Looks fine to me. I would only add one further refinement - I think we
> From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of
> Ralph Castain [r...@open-mpi.org]
> Sent: Thursday, November 15, 2012 8:53 AM
> To: Open MPI Developers
> Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk
>
: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk
Looks fine to me. I would only add one further refinement - I think we should
check m4, but add a check in autogen.pl so that if we get nothing useful back
from -v (or whatever), then output a warning that we couldn't validate the
version
t; Found version component 1 -- need 1
> Found version component 4 -- need 4
> Found version component 16 -- need 16
> ==> ACCEPTED
>
>
> -Nathan
>
>
> From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org]
pen MPI Developers
Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk
Larry,
I just wanted to speak up quickly to be sure nobody used your example to "fix"
the Mac OS problem and thereby break Solaris instead. No personal
attack/affront was intended.
-Paulhttps://mymail.la
Larry,
I just wanted to speak up quickly to be sure nobody used your example to
"fix" the Mac OS problem and thereby break Solaris instead. No personal
attack/affront was intended.
-Paul
On Wed, Nov 14, 2012 at 7:10 PM, Larry Baker wrote:
> Paul,
>
> 1) I wasn't trying to
Ralph,
> Ick - usually tools support some kind of version option. :-(
In the olden days, -V (big V) was a reasonably standard request for version no.
(little V being verbosity). The GHNU command line parsing added the wordy
options preceded by double dashes. Unfortunately, gcc does not
Paul,
1) I wasn't trying to solve the --version issue, only the parsing of the
response.
2) I assumed from the initial e-mail that the broken parser was in a Perl
script. I'm not a Perl person, so I wrote the example regular expression
parser in sed.
These commands were done on my Mac OS X
Ick - usually tools support some kind of version option. :-(
I'll give Nathan a chance to work on this tonight. If we can't resolve the
problem, I'll revert the m4 check as well.
On Nov 14, 2012, at 5:41 PM, Paul Hargrove wrote:
> On Wed, Nov 14, 2012 at 6:26 PM, Larry
On Wed, Nov 14, 2012 at 6:26 PM, Larry Baker wrote:
> m4 --version | sed -n -E -e
> '1s/^.*[^A-Za-z0-9_-]?([0-9]+[.][0-9]+[.][0-9]+)[^A-Za-z0-9_-]?.*$/\1/p'
>
There are STILL problems with this approach as it is TWICE specific to GNU
software:
1) M4 on OpenBSD (maybe others)
From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of
Ralph Castain [r...@open-mpi.org]
Sent: Wednesday, November 14, 2012 4:26 PM
To: de...@open-mpi.org
Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk
Sorry Nathan - I had to revert this out
Ralph,
Try sed -n -E -e
'1s/^.*[^A-Za-z0-9_-]?([0-9]+[.][0-9]+[.][0-9]+)[^A-Za-z0-9_-]?.*$/\1/p' (or
its equivalent in Perl).
-n = Don't print out lines that do not match the pattern
-E = Telsl sed to recognize +
pattern = .. (no attempt to rule out nonsense like
0.0.0)
> savaii:~ baker$ m4
Sorry Nathan - I had to revert this out as it broke builds on Mac ML. The
problem is that the find_and_check parser looks for parens to find the version
number, expecting something like this:
$ m4 --version
m4 (GNU M4) 1.4.16
or this:
$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC)
21 matches
Mail list logo