Make Geant4 install relocatable
This is a WIP to address the relocatability issues in geant4-config
reported in ATLASSIM-3212
At present, it just adds a sanitizeConfig
script that's copied from that implemented by @akraszna for XRootd. This is run post-build and just sed
s out the absolute path to clhep-config
. That's just to confirm things run o.k. Next steps for discussion/implementation are:
- What replacement for
clhep-config
should be used? Should it be${SOME_ENV_VAR}/clhep-config
or justclhep-config
and rely on$PATH
? - Similarly for the CLHEP
libs
entry - What other replacements should be done? The main other hard coded paths are to Xerces-C (uses cvmfs/LCG) and Geant4 data libraries.
Edited by Benjamin Morgan