Attachment 'minimal_ilcinstall_for_marlintpc-v01-17-04.cfg'

Download

   1 ##############################################################################
   2 #
   3 #
   4 ##############################################################################
   5 
   6 import os, sys
   7 
   8 # read package versions from external file
   9 path_where_this_file_lives = os.path.dirname( config_file )
  10 versions_file = os.path.join( path_where_this_file_lives, "release-versions.py" )
  11 execfile( versions_file )
  12 
  13 # installation directory
  14 if not 'ilcsoft_install_dir' in dir():
  15     if not 'ilcsoft_install_prefix' in dir():
  16         # default install prefix
  17         ilcsoft_install_prefix = "$HOME/ilcsoft"
  18 
  19     ilcsoft_install_dir = os.path.join( ilcsoft_install_prefix, ilcsoft_release )
  20 
  21 ilcsoft = ILCSoft( ilcsoft_install_dir )
  22 
  23 
  24 # python variable for referring the ILC Home directory
  25 # used to link or use already installed packages (SL5)
  26 # --- set in release-versions.py ---
  27 #ilcPath = "/afs/desy.de/group/it/ilcsoft/"
  28 #ilcPath = '/afs/desy.de/project/ilcsoft/sw/i386_gcc41_sl5/'
  29 if not 'ilcPath' in dir():
  30     "raise ilcPath not set"
  31 
  32 ilcPath = os.path.normpath( ilcPath ) + '/' # make sure there it ends with /
  33 
  34 # global options
  35 ilcsoft.env["MAKEOPTS"]="-j4"
  36 ilcsoft.env["CXX"]="g++"
  37 ilcsoft.env["CC"]="gcc"
  38 ilcsoft.env["FC"]="gfortran"
  39 if( ilcsoft.os.isSL(4) ):
  40     ilcsoft.env["FC"]="g77"
  41 
  42 ########################################################################
  43 
  44 
  45 # --------- install dir ------------------------------------------------------
  46 # !!! adjust to meet YOUR needs!
  47 ilcsoft_release='minimal_v01-17-04'
  48 ilcsoft_install_prefix = "/scratch/ilcsoft/"
  49 
  50 # --------- ilcsoft home -----------------------------------------------------
  51 # python variable for referring the ILC Home directory
  52 ilcPath = ilcsoft_install_prefix
  53 
  54 # ======================= PACKAGES WITH NO INSTALL SUPPORT ===================
  55 # ----- mysql --------------------------------------------------------
  56 #MySQL_version = "5.0.45"
  57 #MySQL_path = ilcPath + "/mysql/" + MySQL_version
  58 MySQL_path = "/usr"
  59 # ----- java ---------------------------------------------------------
  60 Java_version = "1.6.0"
  61 ########################################################################
  62 
  63 
  64 # ----- build and install documentation -------------
  65 ilcsoft.envcmake["INSTALL_DOC"]="ON"
  66 
  67 
  68 #ilcsoft.envcmake["CMAKE_BUILD_TYPE"]= "Debug"
  69 ilcsoft.envcmake["CMAKE_BUILD_TYPE"]= "RelWithDebInfo"
  70 ilcsoft.downloadType = "svn"
  71 
  72 ########################################################################
  73 
  74 ilcsoft.install( ILCUTIL( ILCUTIL_version ))
  75 ilcsoft.install( LCIO( LCIO_version )) 
  76 
  77 #----- this will build the optional ROOT dictionary for LCIO -----
  78 #------ set to OFF  if you don't want it
  79 ilcsoft.module("LCIO").envcmake['BUILD_ROOTDICT']='ON'
  80 #ilcsoft.module("LCIO").envcmake['ROOT_HOME']='${ROOTSYS}'
  81 
  82 
  83 ilcsoft.install( GEAR( GEAR_version )) 
  84 ilcsoft.module("GEAR").envcmake['GEAR_TGEO']='ON'
  85 
  86 ilcsoft.install( KalTest( KalTest_version )) 
  87 ilcsoft.install( KalDet( KalDet_version )) 
  88 
  89 ilcsoft.install( CondDBMySQL( CondDBMySQL_version )) 
  90 ilcsoft.install( LCCD( LCCD_version ))
  91 
  92 ilcsoft.install( RAIDA( RAIDA_version ))
  93 
  94 ilcsoft.install( CED( CED_version ))
  95 ilcsoft.module("CED").envcmake['CED_SERVER']='ON'
  96 ilcsoft.install( CEDViewer( CEDViewer_version ))
  97 
  98 ilcsoft.install( Marlin( Marlin_version ))
  99 ilcsoft.install( MarlinUtil( MarlinUtil_version ))
 100 
 101 ilcsoft.install( PathFinder( PathFinder_version ))
 102 
 103 ilcsoft.install( CLHEP( CLHEP_version))
 104 
 105 ilcsoft.install( GSL( GSL_version )) 
 106 ilcsoft.install( GBL (GBL_version ))
 107 
 108 #! OR: comment the next line in and the last line out
 109 ilcsoft.install( ROOT( ROOT_version ))
 110 
 111 # cmake
 112 ilcsoft.install( CMake( CMake_version  ))
 113 
 114 # mysql
 115 if 'MySQL_path' in dir():
 116     ilcsoft.link( MySQL( MySQL_path ))
 117 
 118 # Java
 119 if 'Java_path' in dir():
 120     ilcsoft.link( Java( Java_path ))
 121 
 122 # cmake
 123 # end of configuration file

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2012-09-03 11:23:22, 3.8 KB) [[attachment:minimal_ilcinstall_for_marlintpc-v01-13-06.cfg]]
  • [get | view] (2012-09-03 11:23:52, 4.0 KB) [[attachment:minimal_ilcinstall_for_marlintpc-v01-14-01.cfg]]
  • [get | view] (2012-09-03 11:24:04, 4.0 KB) [[attachment:minimal_ilcinstall_for_marlintpc-v01-15.cfg]]
  • [get | view] (2013-11-12 18:14:48, 3.7 KB) [[attachment:minimal_ilcinstall_for_marlintpc-v01-17-04.cfg]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.