[Halld-offline] standardized build

Matthew Shepherd mashephe at indiana.edu
Thu Jul 24 13:18:52 EDT 2014


Hi all,

We discussed Wednesday that we wanted to move hdds to scons.

We also discussed removing Makefiles.

I'd suggest having "targets" configured in a standardized way also.

For example, ccdb has no install target.

Procedure:

ccdb:  scons
jana: scons install
hdds:  make
sim-recon: scons install  

user plug-ins:  scons install

I've been bitten a few times by forgetting to type install
and running stale code.

While I think install should be the default target since it is the most
likely mode of operation for users, the simplest, and therefore
the most user friendly, I understand that people may want
to build code and not use it.. (? maybe ? .. why isn't it installed 
by default?)  So if we want to explicitly type scons install
that is fine, but I'd argue for a consistent invocation for all
packages if possible.  

Maybe the new master build system Paul and Mark
are working on will take care of all this.

Matt




More information about the Halld-offline mailing list