Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] plugins inside plugin broken, as expected
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2013-06-03 13:49:27

Le 03/06/2013 10:52, Samuel Thibault a écrit :
> Brice Goglin, le Mon 03 Jun 2013 10:46:49 +0200, a écrit :
>> hwloc/bitmap.h is the biggest problem, plugins should be allowed to use
>> all of them but there are maaaaany of them. Splitting
>> out of would be an easy way to solve this. The bitmap API is
>> totally independent from the hwloc core anyway.
> Having a for most functions is probably the
> sanest way indeed.

If both plugins and the core libhwloc use these functions, is there a
way to avoid having to pass both -lhwloc and -lhwloc-helper when linking
normal hwloc applications? That doesn't matter for people using
pkg-config, but I guess some people hardwire -lhwloc on there link