[ofa-general] Re: OpenSM build now requires lex (flex) and yacc (bison)?

Sasha Khapyorsky sashak at voltaire.com
Fri Mar 20 06:43:07 PDT 2009


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?

Sasha



More information about the general mailing list