[openib-general] Re: Gen2 build/update process

Eitan Zahavi eitan at mellanox.co.il
Mon Jul 11 22:28:03 PDT 2005


I propose to build a top level auto-tools project that will call the sub
directories recursively. In the meanwhile it is just a convinience issue

Eitan Zahavi
Design Technology Director
Mellanox Technologies LTD
Tel:+972-4-9097208
Fax:+972-4-9593245
P.O. Box 586 Yokneam 20692 ISRAEL


> -----Original Message-----
> From: Michael S. Tsirkin [mailto:mst at mellanox.co.il]
> Sent: Monday, July 11, 2005 11:11 PM
> To: Bernhard Fischer
> Cc: Jason 'vanRijn' Kasper; Sayantan Sur; openib-general at openib.org
> Subject: [openib-general] Re: Gen2 build/update process
> 
> Quoting r. Bernhard Fischer <rep.nop at aon.at>:
> > Subject: Re: Gen2 build/update process
> >
> > On Mon, Jul 11, 2005 at 12:10:48PM -0700, Tom Duffy wrote:
> > >Sayantan Sur wrote:
> > >
> > >>Hi,
> > >>
> > >>Is there any plan to have any formal install procedure instead of the
> > >>current process of going into subdirectories and building?
> > >>
> > >>If someone has build scripts to share, that'll be real nice.
> > >>
> > >>
> > >
> > >What are you trying to build?  Kernel build should not need to do this.
> >
> > .. and src/userspace/management has a 'automake' target.
> >
> > In case it's helpful for you, i'm attaching a simple script which can
> > be easily extended to cover the rest. I usually call it like this:
> > nohup ./mk.openib2.usr.sh 01a
> > It's not pretty but you get the idea.
> >
> > hth,
> > Bernhard
> 
> My scripts are simpler: e.g. for management (I have one for libibverbs
too):
> 
> #!/bin/sh -x
> #1. In libibcommon, libibumad, and libibmad (in that order), run:
> ( cd libibcommon && ./autogen.sh && ./configure && make && make install )
> ( cd libibumad && ./autogen.sh && ./configure && make && make install )
> ( cd libibmad && ./autogen.sh && ./configure && make && make install )
> 
> #2. In osm/complib and osm/libvendor, run:
> ( cd osm/complib && ./autogen.sh && ./configure && make && make install )
> ( cd osm/libvendor && ./autogen.sh && ./configure && make && make install
)
> #3. In all util/mad_test, diags, and osm/opensm subdirectories, run:
> ( cd util/mad_test && ./autogen.sh && ./configure )
> ( cd diags && ./autogen.sh && ./configure )
> ( cd osm/opensm && ./autogen.sh && ./configure )
> #4. At top level of management, run:
> ( make && make install )
> 
> --
> MST
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050712/0e0212ee/attachment.html>


More information about the general mailing list