[Halld-offline] usage of HALLD_HOME in Makefiles with new sim-recon root

Richard Jones richard.t.jones at uconn.edu
Wed Apr 21 17:49:29 EDT 2010


Dear Mark,

In trying to move over to the new structure of the Gluex software tree, 
I encountered the following issue.  First, I created a new directory 
called $(HALLD_HOME)/sim-recon.  Then I cd'ed into sim-recon and did a 
fresh checkout of the trunk from subversion into the directory 
$(HALLD_HOME)/sim-recon/src.  After this, I did cd src, followed by 
make.  This fails in HDGeant.

The reason for this is that in HDGeant/Makefile.bms there is the 
assumption that $(HALLD_HOME)/src is the absolute path to the 
sim-recon/src directory.  I see a couple of ways forward.

   1. go through a modify all instances of $(HALLD_HOME)/src to become
      $(HALLD_HOME)/sim-recon/src in the makefiles.  You might then also
      consider whether $(HALLD_HOME)/lib and $(HALLD_HOME)/bin should
      also descend into the sim-recon folder or not.
   2. invent a new environment variable called SIM_RECON_HOME and then
      use $(SIM_RECON_HOME)/src in place of $(HALLD_HOME)/src in the
      makefiles.  This is more consistent with other cases, such as
      $(JANA_HOME).

For the time being, I have implemented option 1 above (src only).  I 
have only modified my local copy, and have not checked my changes into 
the trunk.

-Richard J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20100421/0c677f0c/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3639 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20100421/0c677f0c/attachment.p7s>


More information about the Halld-offline mailing list