[openib-general] libibat/libibcm build mess

Sean Hefty mshefty at ichips.intel.com
Fri Sep 9 16:53:10 PDT 2005


Roland Dreier wrote:
>  - libibat and libibcm both have an include file named
>    infiniband/at.h.  It's actually installed by libibcm, but the
>    version in libibat has some structures not defined in the libibcm
>    version.

I think you meant sa.h.  I agree that there should be a single file.  Did you 
have an idea of how to handle this?  It seems more natural to me for this file 
to be located with umad, but I don't know if we want that dependency either.

> I'm not sure exactly how to untangle all of this.  I don't think we
> want build dependencies between libibcm and libibat.  So I'm not sure
> of a sensible home for the <infiniband/sa.h> include file.

The only reason for the dependency is because of the ucmpost sample.  I think 
it's useful to keep that example around somewhere, but maybe we can move it 
outside libibcm.

> As a side note, does it make sense for libibcm and libibat to install
> the cm_abi.h and at_abi.h files?  Those ABI definitions should
> probably be kept internal to the libraries.  libibverbs only exports
> its ABI because the individual device-specific drivers need to use it too.

I can't think of a reason why cm_abi.h would need to be installed.

- Sean



More information about the general mailing list