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

Comparing COMP/CMSDIST/online.spec (file contents):
Revision 1.1 by ratnik, Tue Oct 16 05:21:58 2007 UTC vs.
Revision 1.13 by ratnik, Tue Feb 5 20:05:39 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms online CMSSW_1_7_0_pre5_ONLINE
1 > ### RPM cms online CMSSW_1_7_5_ONLINE1
2   ## IMPORT configurations
3   Provides: /bin/zsh
4 < Requires: online-tool-conf python glimpse
4 > Requires: online-tool-conf python
5   Requires: SCRAMV1
6 < %define cmssw_release   %(perl -e '$_="%v"; s/_ONLINE//; print;')
6 > %define cmssw_release   %(perl -e '$_="%v"; s/_ONLINE1//; print;')
7   %define ucprojname  CMSSW
8   %define lcprojname  cmssw
9  
10 %define prebuildtarget  gindices
10   %define buildtarget     release-build
12 %define useCmsTC        1
11   %define saveDeps        yes
12   %define cvsproj         %cvsprojuc
13   %define srctree         src
14  
15   #%define scram_xml   .xml
16   %define scram_xml   %{nil}
17 < %define scramcmd    scramv1
17 > %define scramcmd    scramv1  -arch %{cmsplatf}
18  
19   # NR: allow to change tarball names, otherwise old distributions
20   # are fetched from the apt SOURCE repository.
# Line 33 | Line 31 | Source1: %{cmsswsrc}/src.tar.gz
31   %endif
32  
33   # List of packages to bootstrap for partial builds:
36 #Source2: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=CMSDIST/online_build_set.file&tag=-rbetatest&export=CMSDIST&&output=/src1.tar.gz
34   Source2: online_build_set
35   Source3: cmssw-tool
36   Source4: findDependencies.pl
# Line 50 | Line 47 | rm -rf %{srctree}
47   %setup -D -T -b 1 -n %{srctree}
48   #%setup -D -T -a 2 -n %{srctree}
49  
50 + # Remove plugins that only include tests, which we do not build:
51 + rm -rf %_builddir/src/FWCore/Framework/plugins
52 + rm -rf %_builddir/src/RecoVertex/KalmanVertexFit/plugins
53 + rm -rf %_builddir/src/Alignment/CommonAlignmentMonitor/plugins
54 +
55   touch %_builddir/config/%{ucprojname}_ignore.file
56   for file in `ls %_builddir/config/%{ucprojname}_*.file | grep -v  '/%{ucprojname}_ignore.file$' | sed 's|.*/%{ucprojname}_||;s|.file$||'`; do
57    sed 's|@PROJECT_NAME@|%ucprojname|g;s|@PROJECT_VERSION@|%v|g;s|@PROJECT_BUILD_PATH@|%_builddir|g' %_builddir/config/%{ucprojname}_${file}.file > %_builddir/config/${file}
58   done
59 +
60   if [ ${ONLINE_TOOL_CONF_ROOT}/configurations/requirements%scram_xml ] ; then
61    cp ${ONLINE_TOOL_CONF_ROOT}/configurations/requirements%scram_xml %_builddir/config/
62   fi
# Line 74 | Line 77 | export SCRAM_TOOLBOXVERSION=%cmssw_relea
77  
78   mv config/bootsrc config/bootsrc_orig
79  
80 + # Disable building tests, as they bring dependency on cppunit
81 + perl -p -i -e ' s!<ClassPath(.*)test(.*)!!;'  %_builddir/config/BuildFile
82 +
83 + # Specify package list for source bootstrap:
84   perl -p -e 'if (s/(<download.*)(file:src)(.*)(name="src)(">)/#$1$2$3$4$5/){open $fh, "%_sourcedir/online_build_set" or die; while(readline $fh){chomp;print "$1$2/$_$3$4/$_$5\n"}}' config/bootsrc_orig > config/bootsrc
85  
86   %scramcmd project -d $(dirname %i) -b config/bootsrc -f %_builddir/config/site/tools-`cat %_builddir/config/site/sitename`.conf

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines