ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/fwlite.spec
(Generate patch)

Comparing COMP/CMSDIST/fwlite.spec (file contents):
Revision 1.2 by ratnik, Fri Jun 1 17:48:36 2007 UTC vs.
Revision 1.5 by ratnik, Fri Jun 22 19:15:24 2007 UTC

# Line 1 | Line 1
1 < ### RPM cms fwlite CMSSW_1_5_0_pre4_FWLITE
1 > ### RPM cms fwlite CMSSW_1_5_0_pre5_FWLITE
2   ## IMPORT configurations
3   Provides: /bin/zsh
4   Requires: SCRAMV1
# Line 23 | Line 23 | Source2: %{cmsswsrc}/src.tar.gz
23   # Following dependencies were not detected by ignominy, but required in the BuildFiles:
24   # boost_program_options boost_regex bz2lib pcre root rootcintex uuid zlib
25  
26 < %define externals "cxxcompiler f77compiler ccompiler seal clhep sockets python boost boost_filesystem xerces-c rootrflx rootcore rootmath gccxml boost_python elementtree sigcpp hepmc gsl boost_regex boost_program_options boost_program_options boost_regex bz2lib pcre root rootcintex zlib"
26 > %define externals "cxxcompiler ccompiler clhep sockets boost boost_filesystem rootrflx rootcore rootmath gccxml boost_python elementtree sigcpp hepmc gsl boost_regex boost_program_options boost_program_options boost_regex bz2lib pcre root rootcintex zlib"
27  
28 < %define packages "DataFormats/BTauReco DataFormats/CaloRecHit DataFormats/CaloTowers DataFormats/Candidate DataFormats/CLHEP DataFormats/Common DataFormats/DetId DataFormats/EcalDetId DataFormats/EcalRecHit DataFormats/EgammaCandidates DataFormats/EgammaReco DataFormats/EgammaTrackReco DataFormats/FEDRawData DataFormats/GeometryCommonDetAlgo DataFormats/GeometrySurface DataFormats/GeometryVector DataFormats/GsfTrackReco DataFormats/HcalDetId DataFormats/HcalRecHit DataFormats/HepMCCandidate DataFormats/JetReco DataFormats/Math DataFormats/METReco DataFormats/MuonDetId DataFormats/MuonReco DataFormats/ParticleFlowCandidate DataFormats/ParticleFlowReco DataFormats/Provenance DataFormats/RecoCandidate DataFormats/SiPixelCluster DataFormats/SiPixelDetId DataFormats/SiPixelDigi DataFormats/SiStripCluster DataFormats/SiStripCommon DataFormats/SiStripDetId DataFormats/SiStripDigi DataFormats/TrackCandidate DataFormats/TrackerRecHit2D DataFormats/TrackingRecHit DataFormats/TrackReco DataFormats/TrajectorySeed DataFormats/TrajectoryState DataFormats/VertexReco FWCore/FWLite FWCore/MessageLogger FWCore/PluginManager FWCore/RootAutoLibraryLoader FWCore/Utilities PhysicsTools/Utilities SimDataFormats/HepMCProduct"
28 > %define packages "CondFormats/JetMETObjects DataFormats/BTauReco DataFormats/CLHEP DataFormats/CaloRecHit DataFormats/CaloTowers DataFormats/Candidate DataFormats/Common DataFormats/DetId DataFormats/EcalDetId DataFormats/EcalRecHit DataFormats/EgammaCandidates DataFormats/EgammaReco DataFormats/EgammaTrackReco DataFormats/FEDRawData DataFormats/GeometryCommonDetAlgo DataFormats/GeometrySurface DataFormats/GeometryVector DataFormats/GsfTrackReco DataFormats/HcalDetId DataFormats/HcalRecHit DataFormats/HepMCCandidate DataFormats/JetReco DataFormats/L1CaloTrigger DataFormats/L1GlobalCaloTrigger DataFormats/L1GlobalMuonTrigger DataFormats/L1Trigger DataFormats/METReco DataFormats/Math DataFormats/MuonDetId DataFormats/MuonReco DataFormats/ParticleFlowCandidate DataFormats/ParticleFlowReco DataFormats/Provenance DataFormats/RecoCandidate DataFormats/SiPixelCluster DataFormats/SiPixelDetId DataFormats/SiPixelDigi DataFormats/SiStripCluster DataFormats/SiStripCommon DataFormats/SiStripDetId DataFormats/SiStripDigi DataFormats/TrackCandidate DataFormats/TrackReco DataFormats/TrackerRecHit2D DataFormats/TrackingRecHit DataFormats/TrajectorySeed DataFormats/TrajectoryState DataFormats/VertexReco FWCore/FWLite FWCore/MessageLogger FWCore/PluginManager FWCore/RootAutoLibraryLoader FWCore/Utilities SimDataFormats/HepMCProduct"
29  
30   %prep
31  
# Line 149 | Line 149 | cd src
149  
150   %{?buildarch:%buildarch}
151  
152 < # export SCRAM_NOSYMCHECK=true
152 > # Skip library checks to avoid dependency on seal:
153 > export SCRAM_NOLOADCHECK=true
154 > export SCRAM_NOSYMCHECK=true
155  
156   if [ $(uname) = Darwin ]; then
157    # scramv1 doesn't know the rpath variable on darwin...
# Line 167 | Line 169 | echo "executing %preBuildCommand"
169   %define buildtarget %{nil}
170   %endif
171  
172 + #organize log file, turn off plugin building..
173 + export BUILD_LOG yes
174 + export SCRAM_NOPLUGINREFRESH yes
175 +
176   scramv1 b -r echo_CXX </dev/null
177   %if "%{?prebuildtarget:set}" == "set"
178   scramv1 b --verbose -f %{prebuildtarget} </dev/null
179   %endif
180 < scramv1 b --verbose -f %{makeprocesses} %{buildtarget} </dev/null
180 > scramv1 b --verbose -f  %{compileOptions} %{makeprocesses} %{buildtarget} </dev/null
181   %if "%{?additionalBuildTarget0:set}" == "set"
182   scramv1 b --verbose -f %{additionalBuildTarget0} < /dev/null
183   %endif
# Line 182 | Line 188 | scramv1 b --verbose -f %{postbuildtarget
188   rm -rf %i/tmp
189   chmod -R 755 %i %i/.SCRAM
190   (eval `scramv1 run -sh` ; SealPluginRefresh) || true
191 + rm -fR %i/lib/%cmsplatf/.edmplugincache
192 + (eval `scramv1 run -sh` ; EdmPluginRefresh) || true
193  
194   %install
195   cd %i
# Line 199 | Line 207 | perl -p -i -e "s|%{instroot}|$RPM_INSTAL
207   %{?buildarch:%buildarch}
208   yes | scramv1 install
209   (rm -rf external/%cmsplatf; ./config/linkexternal.pl --arch %cmsplatf --nolink INCLUDE) || true
202 (cd $RPM_INSTALL_PREFIX/%pkgrel; eval `scramv1 run -sh`; SealPluginRefresh) || true

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines