|
[Rivet] [Rivet-svn] r2737 - trunk/binAndy Buckley andy.buckley at ed.ac.ukFri Oct 29 17:26:20 BST 2010
On 29/10/10 17:16, Hendrik Hoeth wrote: > Thus spake Andy Buckley (andy.buckley at ed.ac.uk): > >>>> trunk/bin/rivet-buildplugin >>> >>> What do you tink about adding $CXXFLAGS by default? >> >> Hmm, not a bad idea. Otherwise no-one will remember to optimise their >> analysis builds. But it would require making a rivet-buildplugins.in >> template for the script: worth the hassle? > > I just exchanged some thoughts with David about this. Our first idea was > to take CXXFLAGS from the current environment, like we currently do with > CXX. But in fact that's wrong, and we should definitely use the same > CXX and CXXFLAGS as for the installation, so that the same compiler as > for the rivet build is used. On most user installations that's the case > anyhow, but for a Genser installation the user will most likely not have > the same compiler in his default settings, and then bad things start to > happen. > > We don't even have to ask rivet-config for all this information. We can > hard-code it into rivet-buildplugin at Rivet compile time. Ok, you've convinced me. I'll do it now, to avoid some nasty Grid job debugging that looks set to spoil my evening! Andy -- Dr Andy Buckley SUPA Advanced Research Fellow Particle Physics Experiment Group, University of Edinburgh The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the Rivet mailing list |