...
- Unzip LCGCMT_58 into your local directory
- Unzip Gaudi source code into your local directory
- Copy in our version of ROOT v5.26.00a-gl1 into the external/ROOT directory
- Copy in our version of Python 2.5.1 into the external/Python directory
- Update external/LCGCMT_58/LCG_Configuration/cmt/requirements
set ROOT_config_version to 5.26.00a-gl1
set Python_config_version to 2.5.1-gl1 - Update external/LCGCMT/LCGCMT_58/LCG_Interfaces/ROOT/cmt/requirements and comment out
## apply_pattern use_optional pkg=Qt
## apply_pattern use_optional pkg=dcache_client
## apply_pattern use_optional pkg=gfal
and add:
macro ROOT_cppflags "" \
target-winxp "-DROOT_w32pragma " - Update external/LCGCMT/LCGCMT_58/LCG_Settings/cmt/requirements
Update LCG_home to the top level location of the Gaudi build to something like:
macro LCG_home "${myPathDir}/buildingGaudi_v21r7/"
Update LCG_Releases to
macro LCG_releases "$(LCG_home)/external" - Update GaudiKernel's requirements file to remove use of CppUnit
- Update GaudiSvc's requirements file to remove use of CLHEP
- Set up to use CMT v1r20p20090520, for example:
CMTBIN=VisualC
CMTCONFIG=win32_vc71_dbg
CMTPATH=C:\heather\gaudiUpgrade\GAUDI\GAUDI_v21r7;C:\heather\gaudiUpgrade\external;C:\heather\gaudiUpgrade\external\LCGCMT\LCGCMT_58;C:\heather\glast\tools
CMTROOT=C:\heather\glast\tools\CMT\v1r20p20090520 v1r20p20090520 (make sure there is no space at the end of that definition!)
CMTVERSION=v1r20p20090520 - Add CMT to PATH
- Execute vsvars32.bat in the Microsoft VC++ 7.1 distribution
- Gaudi uses CMT, so building goes something like this
We choose to limit the Gaudi packages we build to (in this order): GaudiKernel, GaudiSvc, GaudiUtil, GaudiAlg, GaudiAud
For each package, enter the cmt directory and do:
cmt broadcast "cmt config"
setup.bat
nmake /f nmake - Extra Notes.. a number of the boost includes had to be renamed from *.hp to *.hpp
VC 2008 notes
- GaudiKernel's Debugger.cpp required a modification where windows.h was included outside the Win namespace
- GaudiSvc's manifest file for genconf.exe needs to be copied over into the InstallArea by hand
redhat4-i686-32bit-gcc34
- Obtain the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs/GAUDI_v21r7-gl1_src.tar.gz
- Setup up the required Gaudi externals: AIDA, Boost, gccxml, python 2.5.1, ROOT v5.26.00-gl1, uuid, XercesC 2.8.0
...