[ofa-general] Re: OpenSM build now requires lex (flex) and yacc (bison)?
Ira Weiny
weiny2 at llnl.gov
Fri Mar 20 10:23:19 PDT 2009
On Fri, 20 Mar 2009 15:43:07 +0200
Sasha Khapyorsky <sashak at voltaire.com> wrote:
> Hi Ira,
>
> On 13:39 Thu 12 Mar , Ira Weiny wrote:
> > diff --git a/opensm/opensm.spec.in b/opensm/opensm.spec.in
> > index 7b82faf..3f02235 100644
> > --- a/opensm/opensm.spec.in
> > +++ b/opensm/opensm.spec.in
> > @@ -30,7 +30,7 @@ Group: System Environment/Daemons
> > URL: http:// openfabrics.org/
> > Source: http:// www. openfabrics.org/downloads/management/@TARBALL@
> > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
> > -BuildRequires: libibumad-devel, libtool
> > +BuildRequires: bison, flex, libibumad-devel, libtool
>
> Indeed lex and yacc are needed for OpenSM build now. However different
> tools can be used (lex, flex, yacc, bison, byacc, etc.). Also some
> distributions are using other than bison and flex tools. Will this patch
> limit tool set (and break build on distros which doesn't have bison and
> flex)? If yes, could this be done using generic requirements?
I wondered the same thing and was hoping Doug would chime in on how he did it.
As far as I know there is no way to generically check.
On the other hand I have polled around here and no one knows of a rpm distro
which does not provide bison or flex. Perhaps some of the other distros will
chime in if this will break them.
Ira
>
> Sasha
>
--
Ira Weiny
Math Programmer/Computer Scientist
Lawrence Livermore National Lab
weiny2 at llnl.gov
More information about the general
mailing list