forked from cms-sw/cmsdist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cms-scram-build.file
43 lines (34 loc) · 1.02 KB
/
cms-scram-build.file
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
### FILE cms-scram-build
%define cvsproj %cvsprojuc
%define configtag VXX-XX-XXdeprecated
%define configrepo cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e
%if "%{?useCmsTC:set}" != "set"
%if "%{?cvsrepo:set}" != "set"
%define cvsrepo cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/%cvsdir?passwd=AA_:yZZ3e
%endif
%else
%define cvsrepo cmstc
%endif
%if "%{?cvstag:set}" != "set"
%define cvstag %(echo %v | cut -d- -f1)
%endif
%if "%{?cvsconfig:set}" != "set"
%define cvsconfig config
%endif
%if "%{?cvssrc:set}" != "set"
%define cvssrc %cvsprojuc
%endif
%if "%{?srctree:set}" != "set"
%define srctree src
%endif
%if "%{?UseSPI:set}" == "set"
%define tbxrepo cvs://:pserver:anonymous@spitools.cvs.cern.ch:2401/cvs/SPITOOLS?passwd=Ah<Z
%define conftag LCG_%lcgConfiguration%conflevel
%define confsite LCGconfigs
%endif
%if "%{?buildtarget:set}" != "set"
%define buildtarget release
%endif
%if "%{buildarch:set}" != "set"
%define buildarch :
%endif