ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/macros/rootlogon.C
(Generate patch)

Comparing UserCode/MitAna/macros/rootlogon.C (file contents):
Revision 1.1 by loizides, Tue May 27 19:59:54 2008 UTC vs.
Revision 1.3 by loizides, Wed Jun 11 13:26:04 2008 UTC

# Line 1 | Line 1
1   // $Id$
2  
3   {
4  if(1) {
5    if(gSystem->Getenv("CMSSW_VERSION")) {
6      if(gSystem->Load("libFWCoreFWLite.so")==0) {
7        AutoLibraryLoader::enable();
8        //AutoLibraryLoader::loadAll();
9
10        ::Info("rootlogon.C",
11               "Setting up for %s", gSystem->Getenv("CMSSW_VERSION"));
12      }
13
14      if(1) {
15        TString str = gSystem->GetMakeSharedLib();
16        if(str.Contains("-m32")==0 && str.Contains("-m64")==0) {
17          str.ReplaceAll("g++", "g++ -m32");
18          gSystem->SetMakeSharedLib(str);
19        }
20      }
21    }
22  }
23
4    gROOT->Macro("$CMSSW_BASE/src/MitAna/macros/setRootEnv.C+");
5   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines