source: branches/testScripts/NBuserParametersDefault.py @ 755

Last change on this file since 755 was 755, checked in by jpfasano, 12 years ago

Added comments on setting root dir.

  • Property svn:eol-style set to native
File size: 8.3 KB
Line 
1#------------------------------------------------------------------------
2# This file is distributed under the Common Public License.
3# It is part of the BuildTools project in COIN-OR (www.coin-or.org)
4#------------------------------------------------------------------------
5
6#----------------------------------------------------------------------
7# This file is a template for a user-given parameter file.
8# It contains variables that the person running this script need to set or modify.
9#----------------------------------------------------------------------
10
11#----------------------------------------------------------------------
12# NIGHTLY_BUILD_ROOT_DIR:
13#   directory where code will be checked out and builds
14#   done. If the directory does not exist, it will be created.
15#
16#   This should be the full path, not a path relative to the
17#   nightlyBuild script.
18#
19#   examples for both unix and windows:
20#      NIGHTLY_BUILD_ROOT_DIR = '/home/userid/nbBuildDir'
21#      NIGHTLY_BUILD_ROOT_DIR = r'c:\nbBuildDir'
22#----------------------------------------------------------------------
23NIGHTLY_BUILD_ROOT_DIR = '/xxx'
24
25#----------------------------------------------------------------------
26# List of Projects to be processed by script
27#----------------------------------------------------------------------
28PROJECTS = ['CoinUtils','Clp','Osi','DyLP','SYMPHONY','Vol','Cgl','Cbc','Smi','FlopC++','Ipopt','Bonmin','OS','CppAD']
29
30#----------------------------------------------------------------------
31#  Define how a COIN-OR project is to be built and tested.
32#  A project can be built multiple times in different ways.
33#
34#  SvnVersion: Specifies where in subversion the source should be obtained.
35#   Examples: 'trunk', 'latestStable', 'releases/1.2.0'
36#
37#  OptLevel: 'Default' or 'Debug'. Specifies if "./configure" needs
38#   additional parameters to build with debug.  The default is supposed
39#   to be an optimized build.
40#
41#  ThirdParty: 'Yes' or 'No'.  Some projects provide scripts for downloading
42#   third party code. If 'Yes' then these scripts will be run. If 'No'
43#   then the options for skipping the use of third party codes are
44#   used when running "./configure".
45#
46#  'AdditionConfigOptions': This provides the ability to specify an
47#    additional './configure' option to be applied to this specific build.
48#    CONFIGURE_FLAGS can be set if one wants to specify addtional configure
49#    options to all builds.
50#    Example: '--enable-cbc-parallel'
51#
52#  'Reference': This specifies that the build is to be done in the way
53#    of the referenced name.
54#    Example: 'CoinUtils'
55#    The example indicates that the build configurations specified
56#    for CoinUtils are to be used for building.
57#
58#----------------------------------------------------------------------
59BUILDS = {
60   #'DefaultProject'   :
61   #  [
62   #    { 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty':'Yes' },
63   #    { 'SvnVersion': 'latestStable', 'OptLevel': 'Debug',   'ThirdParty':'No'  }
64   #  ],
65   'CoinUtils' : 
66     [
67       { 'SvnVersion': 'trunk',         'OptLevel': 'Default', 'ThirdParty': 'No' } 
68     #,{ 'SvnVersion': 'trunk',         'OptLevel': 'Debug',   'ThirdParty': 'No' }
69     #,{ 'SvnVersion': 'latestStable',  'OptLevel': 'Default', 'ThirdParty': 'No' }
70     #,{ 'SvnVersion': 'latestStable',  'OptLevel': 'Debug',   'ThirdParty': 'No' }
71     #,{ 'SvnVersion': 'latestRelease', 'OptLevel': 'Default', 'ThirdParty': 'No' }
72     ],
73   'Osi' : 
74     [ 
75       { 'Reference' : 'CoinUtils' }
76     ],
77   'Clp' : 
78     [ 
79       { 'Reference' : 'CoinUtils' }
80     ],
81   'DyLP' : 
82     [ 
83       { 'Reference' : 'CoinUtils' }
84     ],
85   'SYMPHONY' : 
86     [ 
87       { 'Reference' : 'CoinUtils' }
88     ],
89   'Vol' : 
90     [ 
91       { 'Reference' : 'CoinUtils' }
92     ],
93   'Cgl' : 
94     [ 
95       { 'Reference' : 'CoinUtils' }
96     ],
97   'Cbc' : 
98     [ 
99       { 'Reference' : 'CoinUtils' } 
100
101       # And build a parallel version with Third Party
102     #,{
103     #   'SvnVersion': 'latestStable',
104     #   'OptLevel': 'Default',
105     #   'ThirdParty': 'Yes',
106     #   'AdditionalConfigOptions': '--enable-cbc-parallel'
107     # }
108     ],
109   'Smi' : 
110     [ 
111       { 'Reference' : 'CoinUtils' } 
112     ],
113   'FlopC++' : 
114     [ 
115       { 'Reference' : 'CoinUtils' }
116     ],
117   'Ipopt' : 
118     [ 
119       { 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty':'Yes' }
120     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Debug',   'ThirdParty':'Yes' }
121     #,{ 'SvnVersion': 'latestStable', 'OptLevel': 'Default', 'ThirdParty':'Yes' }
122     #,{ 'SvnVersion': 'latestRelease','OptLevel': 'Default', 'ThirdParty':'Yes' }
123     ],
124   'Bonmin' : 
125     [ 
126       { 'Reference' : 'Ipopt' }
127     ],
128   'OS' :
129     [ 
130       { 'Reference' : 'Ipopt' } 
131     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
132     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Debug',   'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
133     #,{ 'SvnVersion': 'latestStable', 'OptLevel': 'Default', 'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
134     #,{ 'SvnVersion': 'latestRelease','OptLevel': 'Default', 'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
135     ],
136   'CppAD' : 
137     [ 
138       { 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example' } 
139     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Debug',   'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example' }
140     #,{ 'SvnVersion': 'latestStable', 'OptLevel': 'Default', 'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example' }
141     #,{ 'SvnVersion': 'latestRelease','OptLevel': 'Default', 'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example' }
142     ],
143   'Smi' : 
144     [ 
145       { 'Reference' : 'CoinUtils' }
146     ]
147  }
148
149#----------------------------------------------------------------------
150#On some systems the user might want to set extra options for the
151#configure script like compilers...
152#example: CONFIGURE_FLAGS = 'CC="gcc -m32" CXX="g++ -m32" F77="gfortran -m32"'
153#----------------------------------------------------------------------
154
155CONFIGURE_FLAGS = ''
156
157
158#----------------------------------------------------------------------
159# LOGPRINT:
160#   switch for logoutput to stdout. If set to 1 (default) log will go to
161#   stdout, if set to 0, then not.
162# LOGFILE:
163#   If not empty, then log messages will go to this file.
164#   If LOGPRINT is 1, then log messages will go to stdout as well.
165#   The LOGFILE will be used relative to the NIGHTLY_BUILD_ROOT_DIR, i.e.,
166#   log will be written into NIGHTLY_BUILD_ROOT_DIR+'/'+LOGFILE
167#----------------------------------------------------------------------
168LOGPRINT = 1
169LOGFILE = ''
170
171#----------------------------------------------------------------------
172# Values for sending mail:
173#  EMAIL_STOREFILE: If set, then e-mails are not send but stored in a file.
174#                   The filename is relative to NIGHTLY_BUILD_ROOT_DIR.
175#                   If set, then no values for the SMTP_ fields need to be given.
176#  SMTP_SERVER_NAME: name of smtp server. For gmail server
177#                 this is smtp.gmail.com
178#  SMTP_SERVER_PORT: port number of the smtp server. This is typically 25,
179#                 but for gmail server it is 587.
180#  SMTP_SSL_SERVER: 0 or 1. If 1 then SMTP uses SSL (sometimes called startltls).
181#                 For gmail this is 1.
182#  SMTP_USER_NAME: name of authorized user on server. If using gmail server
183#                 this is gmail_userid@gmail.com which is coded as
184#                 'gmail_userid _AT_ gmail _DOT_ com. 
185#  SMTP_PASSWORD_FILENAME: name of file containing smtp user's password
186#  SENDER_EMAIL_ADDR: email sent by this script will be from this address
187#  MY_EMAIL_ADDR: All problems detected by the script will be sent to
188#                 this email address. The intention is for this to be
189#                 the email address of the person running this script
190#  SEND_MAIL_TO_PROJECT_MANAGER: 0 or 1. If 1 then any problems
191#                 detected are sent to MY_EMAIL_ADDRESS and the
192#                 project manager.
193#----------------------------------------------------------------------
194EMAIL_STOREFILE = ''
195
196SMTP_SERVER_NAME = 'xxx.smtp.server.name'
197SMTP_SERVER_PORT = 25
198SMTP_SSL_SERVER = 0
199SMTP_USER_NAME = 'xxxx'
200SMTP_PASSWORD_FILENAME = '/xxx/yyy/smtpPassWordFile'
201SENDER_EMAIL_ADDR='xxx _AT_ yyyy _DOT_ edu'
202MY_EMAIL_ADDR = SENDER_EMAIL_ADDR
203
204SEND_MAIL_TO_PROJECT_MANAGER = 0
Note: See TracBrowser for help on using the repository browser.