[openib-general] RE: [PATCH] osm: add a main auto tools project for osm
Hal Rosenstock
halr at voltaire.com
Thu Aug 11 07:28:30 PDT 2005
Hi Pete,
On Thu, 2005-08-11 at 10:19, Pete Wyckoff wrote:
> halr at voltaire.com wrote on Tue, 09 Aug 2005 15:00 -0400:
> > I thought the proposal was to ditch the prefix totally and just use
> > /usr/local/bin for binaries, usr/local/lib for libraries, and
> > /usr/local/include/infiniband for the includes (I am assuming that the
> > subdirectories will be maintained under that for opensm, vendor, iba,
> > and complib).
>
> Sorry I'm stepping into this a bit late. I just slogged my way
> through an openib build and install using the helpful Cheat Sheet
> in the wiki.
>
> I don't want everything in /usr/local/{bin,lib,include}. I'd prefer
> to have it segregated into /usr/local/openib/{bin,lib,include}.
> That makes it a bit easier to manage multiple versions if perhaps
> I'd like to leave a basic /usr/local/openib-working directory that
> users see plus also have an /usr/local/openib-testing for
> experimentation. We use a package called "modules" to help manage
> user paths for various software components.
>
> As long as you respect the $prefix setting in Makefiles, this is
> mostly doable. One improvement: instead of generating libdir
> yourself in Makefile.am,
>
> libdir = ${exec_prefix}/ib/lib
>
> you can directly use ${libdir} as set by configure, thus permitting
> the installer to decide the paths for himself.
Is /usr/local/[bin, lib, include] acceptable as a default ?
I believe the new version (Eitan is working on a patch) will do that and
allow it to be configured otherwise properly (unlike the current build).
Is that acceptable ?
> -- Pete
>
>
> P.S. Every little one-file source project does not need its own
> configure, automake and full directory tree in my opinion, but
> that's perhaps an argument for a different thread.
Yes, at least all the diags could be rolled into one. Is that sufficient
?
Would you have any time to work on a patch for this aspect ? If not,
I'll add it to my TODO list.
Thanks.
-- Hal
More information about the general
mailing list