1 |
sashby |
1.1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
2 |
|
|
|
3 |
|
|
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
|
4 |
|
|
patched version by: Kenshi Muto, Debian Project.
|
5 |
|
|
LaTeX2HTML 2002 (1.62),
|
6 |
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
7 |
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
8 |
|
|
* with significant contributions from:
|
9 |
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
10 |
|
|
<HTML>
|
11 |
|
|
<HEAD>
|
12 |
|
|
<TITLE>3.1.2.0.1 Example:</TITLE>
|
13 |
|
|
<META NAME="description" CONTENT="3.1.2.0.1 Example:">
|
14 |
|
|
<META NAME="keywords" CONTENT="SCRAM">
|
15 |
|
|
<META NAME="resource-type" CONTENT="document">
|
16 |
|
|
<META NAME="distribution" CONTENT="global">
|
17 |
|
|
|
18 |
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
19 |
|
|
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
|
20 |
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
21 |
|
|
|
22 |
|
|
<LINK REL="STYLESHEET" HREF="SCRAM.css">
|
23 |
|
|
|
24 |
|
|
<LINK REL="previous" HREF="node21.html">
|
25 |
|
|
<LINK REL="up" HREF="node21.html">
|
26 |
|
|
<LINK REL="next" HREF="node23.html">
|
27 |
|
|
</HEAD>
|
28 |
|
|
|
29 |
|
|
<BODY bgcolor="beige" >
|
30 |
|
|
<!--Navigation Panel-->
|
31 |
|
|
<A NAME="tex2html650"
|
32 |
|
|
HREF="node23.html">
|
33 |
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
34 |
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
35 |
|
|
<A NAME="tex2html644"
|
36 |
|
|
HREF="node21.html">
|
37 |
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
38 |
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
39 |
|
|
<A NAME="tex2html640"
|
40 |
|
|
HREF="node21.html">
|
41 |
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
42 |
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
43 |
|
|
<A NAME="tex2html646"
|
44 |
|
|
HREF="node2.html">
|
45 |
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
46 |
|
|
SRC="file:/usr/share/latex2html/icons/contents.png"></A>
|
47 |
|
|
<A NAME="tex2html648"
|
48 |
|
|
HREF="node85.html">
|
49 |
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
50 |
|
|
SRC="file:/usr/share/latex2html/icons/index.png"></A>
|
51 |
|
|
<BR>
|
52 |
|
|
<B> Next:</B> <A NAME="tex2html651"
|
53 |
|
|
HREF="node23.html">3.1.3 The ToolDoc Class</A>
|
54 |
|
|
<B> Up:</B> <A NAME="tex2html645"
|
55 |
|
|
HREF="node21.html">3.1.2 The RequirementsDoc Class</A>
|
56 |
|
|
<B> Previous:</B> <A NAME="tex2html641"
|
57 |
|
|
HREF="node21.html">3.1.2 The RequirementsDoc Class</A>
|
58 |
|
|
  <B> <A NAME="tex2html647"
|
59 |
|
|
HREF="node2.html">Contents</A></B>
|
60 |
|
|
  <B> <A NAME="tex2html649"
|
61 |
|
|
HREF="node85.html">Index</A></B>
|
62 |
|
|
<BR>
|
63 |
|
|
<BR>
|
64 |
|
|
<!--End of Navigation Panel-->
|
65 |
|
|
|
66 |
|
|
<H4><A NAME="SECTION00412010000000000000">
|
67 |
|
|
3.1.2.0.1 <I>Example</I>:</A>
|
68 |
|
|
</H4> Here is part of the requirements file for the
|
69 |
|
|
<TT>COBRA</TT> project example used above:<A NAME="576"></A>
|
70 |
|
|
<PRE>
|
71 |
|
|
<doc type=BuildSystem::Requirements version=2.0>
|
72 |
|
|
<baseurl="cvs://cmscvs.cern.ch/cvs_server/repositories/ToolBox?auth=\
|
73 |
|
|
pserver&user=anonymous&passkey=AA_:yZZ3e&version=CMS_53_1">
|
74 |
|
|
<include url="cvs:?module=ToolBox/CMS/Configuration/CMSconfiguration">
|
75 |
|
|
<Architecture name=SunOS__5>
|
76 |
|
|
<select name=CC>
|
77 |
|
|
</Architecture>
|
78 |
|
|
<Architecture name=Linux__2>
|
79 |
|
|
<select name=gcc>
|
80 |
|
|
</Architecture>
|
81 |
|
|
<select name=clhep>
|
82 |
|
|
<select name=htl>
|
83 |
|
|
<select name=qt>
|
84 |
|
|
</base>
|
85 |
|
|
</PRE>
|
86 |
|
|
<P>
|
87 |
|
|
The base URL is set to point to a CVS repository for the
|
88 |
|
|
toolbox. The version of the toolbox to be used has the CVS
|
89 |
|
|
symbolic tag <TT>CMS_53_1</TT> according to local
|
90 |
|
|
conventions.The configuration file <TT>CMSconfiguration</TT> is
|
91 |
|
|
included using an <<TT>include</TT>> statement. This file
|
92 |
|
|
contains entries like these<A NAME="1840"></A>
|
93 |
|
|
|
94 |
|
|
<P>
|
95 |
|
|
<PRE>
|
96 |
|
|
<Architecture name=SunOS__5>
|
97 |
|
|
<require name=CC version=5.2 url="cvs:?module=ToolBox/CompilerTools/CXX/SunCC">
|
98 |
|
|
</require>
|
99 |
|
|
</Architecture>
|
100 |
|
|
<Architecture name=Linux__2>
|
101 |
|
|
<require name=gcc version=2.95.2 url="cvs:?module=ToolBox/CompilerTools/CXX/gcc">
|
102 |
|
|
</require>
|
103 |
|
|
</Architecture>
|
104 |
|
|
<require name=Qt version=3.0.1 url="cvs:?module=ToolBox/LHCxx/Qt">
|
105 |
|
|
</require>
|
106 |
|
|
<require name=CLHEP version=1.7.5.0 url="cvs:?module=ToolBox/LHCxx/CLHEP">
|
107 |
|
|
</require>
|
108 |
|
|
<require name=HTL version=1.3.2.1 url="cvs:?module=ToolBox/LHCxx/HTL">
|
109 |
|
|
</require>
|
110 |
|
|
</PRE>
|
111 |
|
|
<P>
|
112 |
|
|
which are parsed directly after the file is downloaded,
|
113 |
|
|
i.e. the behaviour is exactly the same as if the
|
114 |
|
|
<<TT>require</TT>> statements are written in the
|
115 |
|
|
requirements file itself. Notice that the compilers are
|
116 |
|
|
enclosed within architecture specific blocks- more details
|
117 |
|
|
concerning compiler support can be found in Section <A HREF="node29.html#sec:compilersupport">3.2.2</A>.
|
118 |
|
|
|
119 |
|
|
<P>
|
120 |
|
|
<BR><HR>
|
121 |
|
|
<ADDRESS>
|
122 |
|
|
scram-developers@cern.ch
|
123 |
|
|
</ADDRESS>
|
124 |
|
|
</BODY>
|
125 |
|
|
</HTML>
|