[openib-general] Re: [PATCH] osm: support for trivial PKey manager

Bernhard Fischer rep.nop at aon.at
Wed Mar 1 07:48:07 PST 2006


On Wed, Mar 01, 2006 at 08:54:41AM -0500, Hal Rosenstock wrote:
>Hi Ofer,
>
>On Wed, 2006-03-01 at 08:42, Ofer Gigi wrote:
>> Hi Hal,
>> 
>> Please add an empty file 
>> management/osm/include/opensm/osm_svn_revision.h
>> 
>> This file is needed since during the build process we write into it the revision. When the file doesn't exists the writing fails.
>
>What svn version are you at ?
>
>I thought we already went through a cycle on this. Either way I thought
>the makefile generated creates this file:
>
>if test '!' -d './.svn'; then \
>        echo -n Exported revision >> ./../include/opensm/osm_svn_revision_new.h ; \
>else \
>        svnversion -n ./.. >> ./../include/opensm/osm_svn_revision_new.h ; \
>fi ; \
>
>Is there some permission problem which prevents this ?

My copy of opensm/Makefile.am reads e.g.:
$(srcdir)/../include/opensm/osm_svn_revision.h: always

Not sure if srcdir points to the objdir or not and i havent tried,
admittedly, but if the srcdir is read-only then osm_svn_revision.h
should most likely be generated in the (writable) objdir, no?

Just curious..



More information about the general mailing list