Exemplo n.º 1
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env[ 'MOKKA' ] = self.installPath

        self.envcmds.append("export G4WORKDIR=$MOKKA")

        if self.g4ver < '9.5':
            self.envpath["PATH"].append( "$MOKKA/bin/"+self.os_ver.type+"-g++" )
        else:
            self.envpath["PATH"].append( "$MOKKA/bin" )

        self.envcmds.append('test -r ${G4ENV_INIT} && { cd $(dirname ${G4ENV_INIT}) ; . ./$(basename ${G4ENV_INIT}) ; cd $OLDPWD ; }')

        if self.g4ver < '9.5':
            # disable visualization drivers
            self.envcmds.append("unset G4VIS_BUILD_OIX_DRIVER G4VIS_USE_OIX_DRIVER G4VIS_USE_OIX" ) # G4VIS_USE_OIX_DRIVER changed in ver 9.3 to G4VIS_USE_OIX
            #self.envcmds.append("unset G4VIS_BUILD_DAWN_DRIVER G4VIS_USE_DAWN" )
            #self.envcmds.append("unset G4UI_BUILD_QT_SESSION G4VIS_BUILD_OPENGLQT_DRIVER G4VIS_USE_OPENGLQT G4UI_USE_QT" )
            #self.envcmds.append("unset G4VIS_BUILD_OPENGLX_DRIVER G4VIS_USE_OPENGLX" )
            self.envcmds.append("unset G4VIS_BUILD_OPENGLXM_DRIVER G4VIS_USE_OPENGLXM" )
            self.envcmds.append("unset G4UI_BUILD_XAW_SESSION G4UI_USE_XAW" )
            self.envcmds.append("unset G4UI_BUILD_XM_SESSION G4UI_USE_XM" )

            # ---- DEPRECATED cross-compile of 32bit in 64bit ---------------
            #d = self.parent.env.copy()
            #d.update(self.env)
            #if d.setdefault('CXXFLAGS','').find('m32') != -1:
            #    self.envcmds.append('test -d "$OGLHOME/lib" && export OGLLIBS="-L${OGLHOME}/lib -lGLU -lGL"' )
            #    self.envcmds.append('test -d "$CLHEP_BASE_DIR/lib" && export CLHEP_LIB_DIR=${CLHEP_BASE_DIR}/lib' )
            #    self.envcmds.append('test -d "$OIVHOME/lib" && export OIVLIBS="-L${OIVHOME}/lib -lInventor -lInventorXt"' )
            #    self.envcmds.append('test -d "$XERCESCROOT/lib32" && export GDMLLIBS="-L${XERCESCROOT}/lib32 -lxerces-c"' )
             
            # compiling Mokka crashes if LDFLAGS is set. # TODO add bug to geant4 bug tracker
            self.envcmds.append("unset LDFLAGS")
Exemplo n.º 2
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["LEDAROOT"]=self.installPath
        self.env["SOSYMLINK"]="true"

        self.envcmds.append('export IMAKEINCLUDE=\"-I${LCBASEDIR}\" ')
Exemplo n.º 3
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["LCDD"] = self.installPath
        self.env["GDML_SCHEMA_DIR"]= "$LCDD"            

        self.envpath["LD_LIBRARY_PATH"].append( "$LCDD/lib" )
Exemplo n.º 4
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["ROOTSYS"] = self.installPath
        self.envpath["PATH"].append( "$ROOTSYS/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$ROOTSYS/lib" )
        self.envpath["PYTHONPATH"].append( "$ROOTSYS/lib" )
Exemplo n.º 5
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["ilcutil"] = self.installPath

        # PATH
        self.envpath["LD_LIBRARY_PATH"].append( "$ilcutil/lib" )
Exemplo n.º 6
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        # fill MARLIN_DLL
        if( self.name != "MarlinUtil" and self.name != "PandoraPFANew" ):
            self.parent.module('Marlin').envpath["MARLIN_DLL"].append( 
                self.installPath+"/lib/lib"+self.name+self.shlib_ext )
Exemplo n.º 7
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["HepPDT_HOME"] = self.installPath
        if self.installPath != "/usr":
            self.envpath["PATH"].append( "$HepPDT_HOME/bin" )
            self.envpath["LD_LIBRARY_PATH"].append( "$HepPDT_HOME/lib" )
Exemplo n.º 8
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["SATELLITESROOT"]=self.installPath
        self.envpath["LD_LIBRARY_PATH"].append( "$SATELLITES/lib" )
        self.env["SOSYMLINK"]="true"
        self.envcmds.append('export IMAKEINCLUDE=\"-I${LCBASEDIR} -I${LCLIBROOT}\" ')
Exemplo n.º 9
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["JUPITERROOT"]=self.installPath
        self.env.setdefault( 'G4WORKDIR', self.installPath)
        
        self.envpath["PATH"].append( "$JUPITERROOT/bin/"+self.os_ver.type+"-g++" )
        self.envcmds.append(". ${G4ENV_INIT}")
Exemplo n.º 10
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        # fill MARLIN_DLL
        self.parent.module('Marlin').envpath["MARLIN_DLL"].append(
          self.installPath+"/lib/libLCFIVertexProcessors"+self.shlib_ext )

        self.envpath["LD_LIBRARY_PATH"].append( self.installPath+"/lib" )
Exemplo n.º 11
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["URANUSROOT"]=self.installPath
#        self.envpath["PATH"].append( "$JSFROOT/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$URANUSROOT/lib" )
        self.env["SOSYMLINK"]="true"

        self.envcmds.append('export IMAKEINCLUDE=\"-I${LCBASEDIR} -I${LCLIBROOT}\" ')
Exemplo n.º 12
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder=[ "QTDIR" ]
        self.env["QTDIR"] = self.installPath
        
        self.env["QMAKESPEC"] = "$QTDIR/mkspecs/linux-g++"
        self.envpath["PATH"].append( "$QTDIR/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$QTDIR/lib" )
Exemplo n.º 13
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)
        self.env["DCAP"] = self.installPath
        self.envpath["LD_LIBRARY_PATH"].append( "$DCAP/lib" )

        # set LD_PRELOAD with envcmds instead of env to
        # avoid endless ERROR messages building the dcap library
        # self.env["LD_PRELOAD"] = "libdcap.so"
        self.envcmds.append( "export LD_PRELOAD=libdcap.so" )
Exemplo n.º 14
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env[ 'AIDATT' ] = self.installPath

        self.envpath["PATH"].append( "$AIDATT/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$AIDATT/lib" )

        self.envcmds.append('test -r ${G4ENV_INIT} && { cd $(dirname ${G4ENV_INIT}) ; . ./$(basename ${G4ENV_INIT}) ; cd $OLDPWD ; }')
Exemplo n.º 15
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["LCIO"] = self.installPath

        # PATH
        self.envpath["PATH"].append( "$LCIO/tools" )
        self.envpath["PATH"].append( "$LCIO/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$LCIO/lib" )
Exemplo n.º 16
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["SLIC"] = self.installPath
        
        # PATH
        #        self.envpath["PATH"].append( "$SLIC/tools" )
        self.envpath["PATH"].append( "$SLIC/build/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$SLIC/build/lib" )
Exemplo n.º 17
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder = [ "JAVA_HOME" ]
        self.env["JAVA_HOME"] = self.installPath

        self.env["JDK_HOME"] = "$JAVA_HOME"
        self.envpath["PATH"].append( "$JDK_HOME/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$JDK_HOME/jre/lib/i386" )
        self.envpath["LD_LIBRARY_PATH"].append( "$JDK_HOME/jre/lib/i386/client" )
Exemplo n.º 18
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env[ 'DD4HEP' ] = self.installPath

#        self.envcmds.append("export G4WORKDIR=$DD4HEP")

        self.envpath["PATH"].append( "$DD4HEP/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$DD4HEP/lib" )

        self.envcmds.append('test -r ${G4ENV_INIT} && { cd $(dirname ${G4ENV_INIT}) ; . ./$(basename ${G4ENV_INIT}) ; cd $OLDPWD ; }')
Exemplo n.º 19
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder = [ "CLHEP" ]
        self.env["CLHEP"] = self.installPath

        self.env["CLHEP_BASE_DIR"] = "$CLHEP"
        self.env["CLHEP_INCLUDE_DIR"] = "$CLHEP/include"
        
        self.envpath["PATH"].append( "$CLHEP_BASE_DIR/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$CLHEP_BASE_DIR/lib" )
Exemplo n.º 20
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["LCIO"] = self.installPath

        # PATH
        self.envpath["PATH"].append( "$LCIO/tools" )
        if self.installPath != "/usr":
            self.envpath["PATH"].append( "$LCIO/bin" )
            self.envpath["LD_LIBRARY_PATH"].append( "$LCIO/lib" )
        self.envpath["PYTHONPATH"].append( "$LCIO/python" )
        self.envpath["PYTHONPATH"].append( "$LCIO/python/examples" )
Exemplo n.º 21
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["MARLIN"] = self.installPath
        self.envpath["PATH"].append( '$MARLIN/bin' )

        if( self.mode == "install" ):
            # check for QT 4
            if( "QT" in self.reqmodules_external ):
                qt = self.parent.module("QT")
                if( qt != None and Version( qt.version ) < '4.0' ):
                    self.abort( "you need QT 4!! QT version " + qt.version + " found..." )
Exemplo n.º 22
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder = [ "MYSQL_HOME" ]

        self.env["MYSQL_HOME"] = self.installPath
        self.env["MYSQL"] = "$MYSQL_HOME"
        self.env["MYSQL_PATH"] = "$MYSQL_HOME" # needed for mokka
        if platform.architecture()[0] == '64bit':
            self.env["MYSQL_LIBDIR"] = "$MYSQL_HOME/lib64/mysql" # needed for mokka

        self.envpath["PATH"].append( "$MYSQL_HOME/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$MYSQL_HOME/lib64/mysql" )
        self.envpath["LD_LIBRARY_PATH"].append( "$MYSQL_HOME/lib64" )
        self.envpath["LD_LIBRARY_PATH"].append( "$MYSQL_HOME/lib/mysql" )
        self.envpath["LD_LIBRARY_PATH"].append( "$MYSQL_HOME/lib" )
Exemplo n.º 23
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)
        self.envpath["PATH"].append( self.installPath + '/bin' )

        if self.mode == "install":

            if self.cmakeBoolOptionIsSet( "CED_SERVER" ):

                if self.os_ver.type == "Darwin":
                    if( not os.path.exists( "/usr/X11/include/GL/glut.h" ) and not os.path.exists( "/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h" )):
                        print "glut not found in your system!! CED_SERVER forced to OFF"
                        self.envcmake["CED_SERVER"] = "OFF"
                else:
                    if( not os.path.exists( "/usr/include/GL/glut.h" ) and not os.path.exists( "/usr/include/glut.h" ) ):
                        print "glut-devel not found in your system!! you can get it from:\n[ http://freeglut.sourceforge.net/ ]"
                        print "CED_SERVER forced to OFF"
                        self.envcmake["CED_SERVER"] = "OFF"
Exemplo n.º 24
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["JSFROOT"]=self.installPath
        self.envpath["PATH"].append( "$JSFROOT/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$JSFROOT/lib" )
        self.env["SOSYMLINK"]="true"

        # provide path to libgfortran in SL3/SL4/SL5
        if self.os_ver.isSL(3):
            self.env.setdefault( "GFORTRANLIBDIR", "-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3" )
        if self.os_ver.isSL(4):
            self.env.setdefault( "GFORTRANLIBDIR", "-L/usr/lib/gcc/i386-redhat-linux/4.1.0" )
        if self.os_ver.isSL(5):
            self.env.setdefault( "GFORTRANLIBDIR", "-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6" )       # 64bit
            #self.env.setdefault( "GFORTRANLIBDIR", "-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/32" )    # 32bit

        self.envcmds.append('export IMAKEINCLUDE=\"-I${LCBASEDIR} -I${LCLIBROOT}\" ')
Exemplo n.º 25
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)
        self.envpath["PATH"].append( self.installPath + '/bin' )
        self.envpath["LD_LIBRARY_PATH"].append( self.installPath + '/lib' )

        if self.mode == "install":

            if self.cmakeBoolOptionIsSet( "CED_SERVER" ):

                if self.os_ver.type == "Darwin":
                    if( not os.path.exists( "/usr/X11/include/GL/glut.h" ) and not os.path.exists( "/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h" )):
                        print "glut not found in your system!! CED_SERVER forced to OFF"
                        self.envcmake["CED_SERVER"] = "OFF"
                else:
                    if( not os.path.exists( "/usr/include/GL/glut.h" ) and not os.path.exists( "/usr/include/glut.h" ) ):
                        print "glut-devel not found in your system!! you can get it from:\n[ http://freeglut.sourceforge.net/ ]"
                        print "CED_SERVER forced to OFF"
                        self.envcmake["CED_SERVER"] = "OFF"
Exemplo n.º 26
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder = [ "G4INSTALL" ]
        self.env["G4INSTALL"] = self.installPath

        if Version(self.version, max_elements=2 ) < "9.5":
            self.env["G4INCLUDE"] = "$G4INSTALL/include"
            self.envpath["LD_LIBRARY_PATH"].append( "$G4INSTALL/sharedlib/"+self.env["G4SYSTEM"] )

        if( not self.env.has_key( "G4ENV_INIT" )):
            if Version(self.version, max_elements=2 ) < "9.5":
                if( not os.path.exists( self.realPath() + "/env.sh" )):
                    self.abort( "you must specify a valid path for a geant4 environment shell script e.g.:\n"\
                            + "ilcsoft.module(\"Geant4\").env[\"G4ENV_INIT\"]=\"/foo/bar/env.sh\"" )
                self.env["G4ENV_INIT"]="$G4INSTALL/env.sh"
            else:
                self.env["G4ENV_INIT"]="$G4INSTALL/bin/geant4.sh"
Exemplo n.º 27
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder=[ "LC_RELEASE_DIR", "LCBASEDIR", "KFLIBROOT", "LCLIBROOT", "LEDAROOT", \
                        "JSFROOT", "JUPITERROOT", "SATELLITESROOT", "URANUSROOT", "G4SYSTEM" ]

        self.env["LC_RELEASE_DIR"]=self.parent.installPath

        self.env["LCBASEDIR"]="$LC_RELEASE_DIR/lcbase"
        self.env["KFLIBROOT"]="$LC_RELEASE_DIR/physsim"
        self.env["LCLIBROOT"]="$LC_RELEASE_DIR/lclib"
        self.env["LEDAROOT"]="$LC_RELEASE_DIR/Leda"
        self.env["JSFROOT"]="$LC_RELEASE_DIR/jsf"
        self.env["JUPITERROOT"]="$LC_RELEASE_DIR/Jupiter"
        self.env["SATELLITESROOT"]="$LC_RELEASE_DIR/Satellites"
        self.env["URANUSROOT"]="$LC_RELEASE_DIR/Uranus"
        
        self.env["G4SYSTEM"]=self.parent.module("Geant4").env["G4SYSTEM"]
        self.env["SOSYMLINK"]="true"
        
        self.env["IMAKEINCLUDE"]="-I$LCBASEDIR -I$KFLIBROOT -I$LCLIBROOT"

        # provide path to libg2c.so in SL3/SL4/SL5
        if self.os_ver.isSL(4):
            self.env.setdefault( "GFORTRANLIBDIR", "-L/usr/lib/gcc/i386-redhat-linux/4.1.0" )
        if self.os_ver.isSL(3):
            self.env.setdefault( "GFORTRANLIBDIR", "-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3" )
        if self.os_ver.isSL(5):
            self.env.setdefault( "GFORTRANLIBDIR", "-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6" )       # 64bit
            #self.env.setdefault( "GFORTRANLIBDIR", "-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/32" )    # 32bit

        self.envpath["PATH"].append( "$LCBASEDIR/bin" )
        self.envpath["PATH"].append( "$JSFROOT/bin" )
        self.envpath["PATH"].append( "$LCLIBROOT/bin" )
        self.envpath["PATH"].append( "$JUPITERROOT/$G4SYSTEM/bin" )

        self.envpath["LD_LIBRARY_PATH"].append( "$JSFROOT/lib" )
        self.envpath["LD_LIBRARY_PATH"].append( "$LEDAROOT/lib" )
        self.envpath["LD_LIBRARY_PATH"].append( "$SATELLITESROOT/lib" )
        self.envpath["LD_LIBRARY_PATH"].append( "$URANUSROOT/lib" )
        self.envpath["LD_LIBRARY_PATH"].append( "$JUPITERROOT/lib/$G4SYSTEM" )

        self.envcmds.append(" . ${G4ENV_INIT} ")
Exemplo n.º 28
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder = ["G4INSTALL"]
        self.env["G4INSTALL"] = self.installPath

        if Version(self.version, max_elements=2) < "9.5":
            self.env["G4INCLUDE"] = "$G4INSTALL/include"
            self.envpath["LD_LIBRARY_PATH"].append("$G4INSTALL/sharedlib/" +
                                                   self.env["G4SYSTEM"])

        if (not self.env.has_key("G4ENV_INIT")):
            if Version(self.version, max_elements=2) < "9.5":
                if (not os.path.exists(self.realPath() + "/env.sh")):
                    self.abort( "you must specify a valid path for a geant4 environment shell script e.g.:\n"\
                            + "ilcsoft.module(\"Geant4\").env[\"G4ENV_INIT\"]=\"/foo/bar/env.sh\"" )
                self.env["G4ENV_INIT"] = "$G4INSTALL/env.sh"
            else:
                self.env["G4ENV_INIT"] = "$G4INSTALL/bin/geant4.sh"
Exemplo n.º 29
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder = ["CERN_ROOT"]
        self.env["CERN_ROOT"] = self.installPath

        #self.env["CERNLIB_HOME"] = "$CERN_ROOT/lib"
        self.env["CVSCOSRC"] = "$CERN_ROOT/src"
        self.env["CERN_LEVEL"] = self.version
        self.env["CERN"] = os.path.dirname(self.installPath)

        self.envpath["PATH"].append("$CERN_ROOT/bin")

        if (self.mode == "install"):

            # check if some commands are available
            for cmd in ['imake', 'makedepend', 'cpp']:
                if not isinPath(cmd):
                    self.abort(cmd + " not found!!")
Exemplo n.º 30
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder = ["MYSQL_HOME"]

        self.env["MYSQL_HOME"] = self.installPath
        self.env["MYSQL"] = "$MYSQL_HOME"
        self.env["MYSQL_PATH"] = "$MYSQL_HOME"  # needed for mokka
        if platform.architecture()[0] == '64bit':
            self.env[
                "MYSQL_LIBDIR"] = "$MYSQL_HOME/lib64/mysql"  # needed for mokka

        if self.installPath != "/usr":
            self.envpath["PATH"].append("$MYSQL_HOME/bin")
            self.envpath["LD_LIBRARY_PATH"].append("$MYSQL_HOME/lib64")
            self.envpath["LD_LIBRARY_PATH"].append("$MYSQL_HOME/lib")
        self.envpath["LD_LIBRARY_PATH"].append("$MYSQL_HOME/lib64/mysql")
        self.envpath["LD_LIBRARY_PATH"].append("$MYSQL_HOME/lib/mysql")
        self.addCMakeCache("MySQL_DIR", self.installPath,
                           "Path to MySQL directory")
Exemplo n.º 31
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder=[ "CERN_ROOT" ]
        self.env["CERN_ROOT"] = self.installPath
        
        #self.env["CERNLIB_HOME"] = "$CERN_ROOT/lib"
        self.env["CVSCOSRC"] = "$CERN_ROOT/src"
        self.env["CERN_LEVEL"] = self.version
        self.env["CERN"] = os.path.dirname(self.installPath)
        
        self.envpath["PATH"].append( "$CERN_ROOT/bin" )


        if( self.mode =="install" ):

            # check if some commands are available
            for cmd in ['imake', 'makedepend', 'cpp']:
                if not isinPath( cmd ):
                    self.abort( cmd+" not found!!" )
Exemplo n.º 32
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env['MOKKA'] = self.installPath

        self.envcmds.append("export G4WORKDIR=$MOKKA")

        if self.g4ver < '9.5':
            self.envpath["PATH"].append("$MOKKA/bin/" + self.os_ver.type +
                                        "-g++")
        else:
            self.envpath["PATH"].append("$MOKKA/bin")

        self.envcmds.append(
            'test -r ${G4ENV_INIT} && { cd $(dirname ${G4ENV_INIT}) ; . ./$(basename ${G4ENV_INIT}) ; cd $OLDPWD ; }'
        )

        if self.g4ver < '9.5':
            # disable visualization drivers
            self.envcmds.append(
                "unset G4VIS_BUILD_OIX_DRIVER G4VIS_USE_OIX_DRIVER G4VIS_USE_OIX"
            )  # G4VIS_USE_OIX_DRIVER changed in ver 9.3 to G4VIS_USE_OIX
            #self.envcmds.append("unset G4VIS_BUILD_DAWN_DRIVER G4VIS_USE_DAWN" )
            #self.envcmds.append("unset G4UI_BUILD_QT_SESSION G4VIS_BUILD_OPENGLQT_DRIVER G4VIS_USE_OPENGLQT G4UI_USE_QT" )
            #self.envcmds.append("unset G4VIS_BUILD_OPENGLX_DRIVER G4VIS_USE_OPENGLX" )
            self.envcmds.append(
                "unset G4VIS_BUILD_OPENGLXM_DRIVER G4VIS_USE_OPENGLXM")
            self.envcmds.append("unset G4UI_BUILD_XAW_SESSION G4UI_USE_XAW")
            self.envcmds.append("unset G4UI_BUILD_XM_SESSION G4UI_USE_XM")

            # ---- DEPRECATED cross-compile of 32bit in 64bit ---------------
            #d = self.parent.env.copy()
            #d.update(self.env)
            #if d.setdefault('CXXFLAGS','').find('m32') != -1:
            #    self.envcmds.append('test -d "$OGLHOME/lib" && export OGLLIBS="-L${OGLHOME}/lib -lGLU -lGL"' )
            #    self.envcmds.append('test -d "$CLHEP_BASE_DIR/lib" && export CLHEP_LIB_DIR=${CLHEP_BASE_DIR}/lib' )
            #    self.envcmds.append('test -d "$OIVHOME/lib" && export OIVLIBS="-L${OIVHOME}/lib -lInventor -lInventorXt"' )
            #    self.envcmds.append('test -d "$XERCESCROOT/lib32" && export GDMLLIBS="-L${XERCESCROOT}/lib32 -lxerces-c"' )

            # compiling Mokka crashes if LDFLAGS is set. # TODO add bug to geant4 bug tracker
            self.envcmds.append("unset LDFLAGS")
Exemplo n.º 33
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["JSFROOT"] = self.installPath
        self.envpath["PATH"].append("$JSFROOT/bin")
        self.envpath["LD_LIBRARY_PATH"].append("$JSFROOT/lib")
        self.env["SOSYMLINK"] = "true"

        # provide path to libgfortran in SL3/SL4/SL5
        if self.os_ver.isSL(3):
            self.env.setdefault("GFORTRANLIBDIR",
                                "-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3")
        if self.os_ver.isSL(4):
            self.env.setdefault("GFORTRANLIBDIR",
                                "-L/usr/lib/gcc/i386-redhat-linux/4.1.0")
        if self.os_ver.isSL(5):
            self.env.setdefault(
                "GFORTRANLIBDIR",
                "-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6")  # 64bit
            #self.env.setdefault( "GFORTRANLIBDIR", "-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/32" )    # 32bit

        self.envcmds.append(
            'export IMAKEINCLUDE=\"-I${LCBASEDIR} -I${LCLIBROOT}\" ')
Exemplo n.º 34
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["LCCD"] = self.installPath
Exemplo n.º 35
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["CondDBMySQL"] = self.installPath
        self.env["COND_DB_DEBUGLOG"] = '/dev/stdout'
        self.envpath["LD_LIBRARY_PATH"].append("$CondDBMySQL/lib")
Exemplo n.º 36
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["ilcutil"] = self.installPath
        self.envpath["LD_LIBRARY_PATH"].append("$ilcutil/lib")
Exemplo n.º 37
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["DRUID"] = self.installPath
        self.envpath["PATH"].append( "$DRUID/bin" )
Exemplo n.º 38
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["DDSEGMENTATION"] = self.installPath
        self.envpath["LD_LIBRARY_PATH"].append( "$DDSEGMENTATION/lib" )
Exemplo n.º 39
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["ninja_HOME"] = self.installPath
        if self.installPath != "/usr":
            self.envpath["PATH"].append("$ninja_HOME")
Exemplo n.º 40
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["GBL"] = self.installPath

        self.envpath["LD_LIBRARY_PATH"].append('$GBL/lib')
Exemplo n.º 41
0
 def postCheckDeps(self):
     BaseILC.postCheckDeps(self)
     self.envpath["PATH"].append( self.installPath+"/bin" )
     os.environ["PATH"] = self.installPath+"/bin:"+os.environ['PATH']
Exemplo n.º 42
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["HepPDT_HOME"] = self.installPath
        self.envpath["PATH"].append( "$HepPDT_HOME/bin" )
        self.envpath["LD_LIBRARY_PATH"].append( "$HepPDT_HOME/lib" )
Exemplo n.º 43
0
 def postCheckDeps(self):
     BaseILC.postCheckDeps(self)
     self.envpath["PATH"].append(self.installPath + "/bin")
Exemplo n.º 44
0
 def postCheckDeps(self):
     BaseILC.postCheckDeps(self)
     self.env['DD4hepExamples'] = self.installPath
     self.envpath["PATH"].append("$DD4hepExamples/bin")
     self.envpath["LD_LIBRARY_PATH"].append("$DD4hepExamples/lib")
Exemplo n.º 45
0
 def postCheckDeps(self):
     BaseILC.postCheckDeps(self)
     self.addCMakeCache("EIGEN3_DIR", self.installPath, "Path to Eigen3")
Exemplo n.º 46
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["DRUID"] = self.installPath
        self.envpath["PATH"].append("$DRUID/bin")
Exemplo n.º 47
0
 def postCheckDeps(self):
     BaseILC.postCheckDeps(self)
Exemplo n.º 48
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["ROOTSYS"] = self.installPath
        self.envpath["PATH"].append("$ROOTSYS/bin")
        self.envpath["LD_LIBRARY_PATH"].append("$ROOTSYS/lib")
Exemplo n.º 49
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.envorder = [ "BOOST_ROOT" ]
        self.env["BOOST_ROOT"] = self.installPath
Exemplo n.º 50
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env[
            'edm4hep_DIR'] = self.installPath + "/install/lib/cmake/EDM4HEP"
Exemplo n.º 51
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env['lcgeo_DIR'] = self.installPath
        self.env['lcgeo_ENVINIT'] = "${lcgeo_DIR}/bin/thislcgeo.sh"
        self.envcmds.append('test -r ${lcgeo_ENVINIT} && . ${lcgeo_ENVINIT}')
Exemplo n.º 52
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["LCCD"] = self.installPath
Exemplo n.º 53
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["LCG_gcc_home"] = self.installPath
        self.envpath["PATH"].append("$LCG_gcc_home/bin")
        self.envpath["LD_LIBRARY_PATH"].append("$LCG_gcc_home/lib64")
Exemplo n.º 54
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["RAIDA_HOME"] = self.installPath
        if self.installPath != "/usr":
            self.envpath["PATH"].append("$RAIDA_HOME/bin")
Exemplo n.º 55
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env["DDSEGMENTATION"] = self.installPath
        self.envpath["LD_LIBRARY_PATH"].append("$DDSEGMENTATION/lib")
Exemplo n.º 56
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env['podio_DIR'] = self.installPath + "/install/lib/cmake/podio"
Exemplo n.º 57
0
    def postCheckDeps(self):
        BaseILC.postCheckDeps(self)

        self.env['DD4HEP'] = self.installPath
        self.env['DD4HEP_ENVINIT'] = "${DD4HEP}/bin/thisdd4hep.sh"
        self.envcmds.append('test -r ${DD4HEP_ENVINIT} && . ${DD4HEP_ENVINIT}')