Attachment 'minimal_ilcinstall_for_marlintpc-v01-15.cfg'
Download 1 ##############################################################################
2 #
3 # this is a minimal ilcsoft installation file to be used by ilcinstall
4 # will create the basic installation for marlintpc to run
5 #
6 # based on work by F.Gaede, DESY and J. Engels, DESY
7 # -- heavily modified by Ch. Rosemann, DESY
8 #
9 # !! you have to set a number of paths according to your specific system !!
10 #
11 ##############################################################################
12
13 import os, sys
14
15 # version number, don't change
16 ilcsoft_release='TEST_v01-15'
17
18 #! set this path !
19 #ilcPath='/scratch/ilcsoft'
20 ilcsoft_install_prefix = "/scratch/ilcsoft/"
21
22
23 #! you need to set this according to your system
24 MySQL_path = "/usr"
25 Java_version = "1.6.0"
26
27
28 # ======================= PACKAGE VERSIONS ===================================
29
30 Marlin_version = "v01-03"
31 MarlinUtil_version = "v01-05-03"
32 LCIO_version = "v02-01-02"
33 LCCD_version = "v01-02"
34 CondDBMySQL_version = "CondDBMySQL_ILC-0-9-5"
35 RAIDA_version = "v01-06-02"
36 ILCUTIL_version = "v01-00"
37 GEAR_version = "v01-02-02"
38 KalTest_version = "v01-05"
39 KalDet_version = "v01-09"
40 CED_version = "v01-07" #"v01-06"
41 PathFinder_version = "v00-01-01"
42 CLHEP_version = "2.1.1.0"
43 GSL_version = "1.14"
44 CMake_version = "2.8.5"
45 ROOT_version = "5.28.00f"
46 CEDViewer_version = "v01-05-02"
47
48
49 # =======================+++++++++++++++++++===================================
50
51
52 ilcsoft_install_dir = os.path.join( ilcsoft_install_prefix, ilcsoft_release )
53
54 ilcsoft = ILCSoft( ilcsoft_install_dir )
55
56 # global options
57 ilcsoft.env["MAKEOPTS"]="-j2"
58 ilcsoft.env["CXX"]="g++"
59 ilcsoft.env["CC"]="gcc"
60 ilcsoft.env["FC"]="gfortran"
61 if( ilcsoft.os.isSL(4) ):
62 ilcsoft.env["FC"]="g77"
63
64 #--------- uncomment the following to build 32-bit mode on 64bit machines---
65 # default is now 64bit-native build
66 #
67 ilcsoft.env["CXXFLAGS"]="-m32"
68 ilcsoft.env["CFLAGS"]="-m32"
69 ilcsoft.env["FFLAGS"]="-m32"
70 ilcsoft.env["LDFLAGS"]="-m32"
71
72 #--------- set to 'OFF' to build 64-bit natively -------
73 ilcsoft.envcmake["BUILD_32BIT_COMPATIBLE"]="ON"
74 #----------------------------------------------------------------
75
76 # ----- build and install documentation -------------
77 ilcsoft.envcmake["INSTALL_DOC"]="ON"
78
79 ilcsoft.envcmake["CMAKE_BUILD_TYPE"]= "Debug"
80 ilcsoft.envcmake["CMAKE_BUILD_TYPE"]= "RelWithDebInfo"
81 ilcsoft.downloadType = "svn"
82
83
84
85 #-------------------------------------------------------------------------
86 # prerequisites: installed versions of Java, geant4, cernlib and mysql:
87 # -> modify according to your system !
88 #-------------------------------------------------------------------------
89
90 # when using 'link' or 'use' please specify full path to installed package
91 # or use the version installed in afs (ilcPath)
92
93
94 # MySQL
95 if 'MySQL_path' in dir():
96 ilcsoft.link( MySQL( MySQL_path ))
97
98 # Java
99 if 'Java_path' in dir():
100 ilcsoft.link( Java( Java_path ))
101
102
103 ####################################################################
104
105 ilcsoft.install( ILCUTIL( ILCUTIL_version ))
106 ilcsoft.install( LCIO( LCIO_version ))
107
108 #----- this will build the optional ROOT dictionary for LCIO -----
109 #------ set to OFF if you don't want it
110 ilcsoft.module("LCIO").envcmake['BUILD_ROOTDICT']='ON'
111 #ilcsoft.module("LCIO").envcmake['ROOT_HOME']='${ROOTSYS}'
112
113
114 ilcsoft.install( GEAR( GEAR_version ))
115 ilcsoft.module("GEAR").envcmake['GEAR_TGEO']='ON'
116
117 ilcsoft.install( KalTest( KalTest_version ))
118 ilcsoft.install( KalDet( KalDet_version ))
119
120 ilcsoft.install( CondDBMySQL( CondDBMySQL_version ))
121 ilcsoft.install( LCCD( LCCD_version ))
122
123 ilcsoft.install( RAIDA( RAIDA_version ))
124
125 ilcsoft.install( CED( CED_version ))
126 ilcsoft.module("CED").envcmake['CED_SERVER']='ON'
127 ilcsoft.install( CEDViewer( CEDViewer_version ))
128
129 ilcsoft.install( Marlin( Marlin_version ))
130 ilcsoft.install( MarlinUtil( MarlinUtil_version ))
131
132 ilcsoft.install( PathFinder( PathFinder_version ))
133
134 ilcsoft.install( CLHEP( CLHEP_version))
135
136 ilcsoft.install( GSL( GSL_version ))
137
138 #! OR: comment the next line in and the last line out
139 ilcsoft.install( ROOT( ROOT_version ))
140
141 # cmake
142 ilcsoft.install( CMake( CMake_version ))
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.You are not allowed to attach a file to this page.