<br>
<br><tt><font size=2>Tziporet Koren <tziporet@dev.mellanox.co.il>
wrote on 01/11/2007 02:31:04 AM:<br>
<br>
> Pradeep Satyanarayana wrote:<br>
> ><br>
> ><br>
> > I look at the OFED sources only on occassions. Recently I downloaded
<br>
> > the OFED-1.1.tgz  from the openfabrics website. Basically
I only <br>
> > wanted to look at some sources in this tar ball (and not build).
After <br>
> > I uncompressed and expanded this tar ball I found another tar
ball <br>
> > openib-1.1.tgz underneath the SOURCES/ directory. I expanded
this tar <br>
> > ball to look at the source files. I then started to look at the
<br>
> > sources and this was at odds to what I expected.<br>
> ><br>
> > I learnt that I had to run the openib-1.1/configure script to
update <br>
> > the sources with all the patches. I believe this is counter-intuitive.
<br>
> > My understanding is that one needs to run the configure script
to <br>
> > generate the Makefiles and set the appropriate environment in
order to <br>
> > build. The openib-1.1.tgz  should have had all the patches
applied and <br>
> > there should be no need to run configure to look at the updated
sources.<br>
> ><br>
> You are correct - patches of OFED are applied by the configure script.
<br>
> The main reason for this is that we need to apply backport patches
<br>
> according to a specific OS.</font></tt>
<br>
<br><tt><font size=2>Ok, I now understand the rationale for doing it that
way. You bring up an</font></tt>
<br><tt><font size=2>interesting point. However, having to run the configure
script is </font></tt>
<br><tt><font size=2>non-intuitive. Of the several ideas that I can think
of, I believe your idea </font></tt>
<br><tt><font size=2>(below) of a new script is the best; that way it will
be minimally disruptive to the </font></tt>
<br><tt><font size=2>current process followed to create the distribution
itself.</font></tt>
<br><tt><font size=2><br>
> <br>
> Do you think it will help if we will create a new script that only
apply <br>
> the patches?</font></tt>
<br>
<br><tt><font size=2>Yes, that would definitely be a good start. Having
a script named appropriately </font></tt>
<br><tt><font size=2>(something along the lines of update_sources) that
does apply the specific patches would</font></tt>
<br><tt><font size=2>be helpful. Also the same script can be invoked from
configure. Additionally, this</font></tt>
<br><tt><font size=2>needs to be well documented in the README.txt file
so that someone else does not run into</font></tt>
<br><tt><font size=2>the same caveats in the future. Thanks for your help
with this!</font></tt>
<br><tt><font size=2><br>
> <br>
> Tziporet<br>
> <br>
</font></tt>
<br><tt><font size=2>Pradeep</font></tt>
<br><tt><font size=2>pradeep@us.ibm.com</font></tt>