Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Unzip LCGCMT_58 into your local directory
  2. Unzip Gaudi source code into your local directory
  3. Copy in our version of ROOT v5.26.00a-gl1 into the external/ROOT directory
  4. Copy in our version of Python 2.5.1 into the external/Python directory
  5. 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
  6. 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 "
  7. 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"
  8. Update GaudiKernel's requirements file to remove use of CppUnit
  9. Update GaudiSvc's requirements file to remove use of CLHEP
  10. 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
  11. Add CMT to PATH
  12. Execute vsvars32.bat in the Microsoft VC++ 7.1 distribution
  13. 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
  14. Extra Notes.. a number of the boost includes had to be renamed from *.hp to *.hpp

VC 2008 notes

  1. GaudiKernel's Debugger.cpp required a modification where windows.h was included outside the Win namespace
  2. GaudiSvc's manifest file for genconf.exe needs to be copied over into the InstallArea by hand

redhat4-i686-32bit-gcc34

  1. Obtain the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs/GAUDI_v21r7-gl1_src.tar.gz
  2. Setup up the required Gaudi externals:  AIDA, Boost, gccxml, python 2.5.1, ROOT v5.26.00-gl1, uuid, XercesC 2.8.0

...