[ofa-general] Re: [PATCH 0/3] ibnetdiscover library "libibnetdisc"
Ira Weiny
weiny2 at llnl.gov
Mon Nov 24 11:30:05 PST 2008
On Mon, 24 Nov 2008 21:10:50 +0200
Sasha Khapyorsky <sashak at voltaire.com> wrote:
> On 09:42 Mon 24 Nov , Ira Weiny wrote:
> > >
> > > Do not you think this library should be rather part of infiniband-diags,
> > > rather than separate package/management sub-project? Personally I would
> > > prefer to have this as part of infiniband-diags.
> >
> > No, I would like to see it be a stand alone library. Currently
> > infiniband-diags does not provide any library functionality and simply depends
> > on the libraries provided by the rest of the management tree. Don't you think
> > this is a good model to follow?
>
> Why it must be so - infiniband-diags will be useless without this library.
>
> And I would really hate to handle one more package (actually not just one
> - libibnetdisc, libibnetdisc-devel, libibnetdisc-static, etc.). I wanted
> to remove libibcommon...
>
I think the argument against ibcommon is that it does not provide enough
additional functionality to warrant an entire new library. On the other hand
infiniband-diags depends on many libraries:
AC_CHECK_LIB(ibcommon, ... <== delete this...
And you still have the following...
AC_CHECK_LIB(ibumad, ...
AC_CHECK_LIB(ibmad, ...
AC_CHECK_LIB(osmcomp, ...
AC_CHECK_LIB(osmvendor, ...
AC_CHECK_LIB(opensm, ...
I don't think it is in appropriate to have utilities which are dependent on
libraries, it is done all the time.
Ira
More information about the general
mailing list