source: branches/testScripts/NBuserParametersDefault.py @ 719

Last change on this file since 719 was 719, checked in by jpfasano, 13 years ago

A few comment changes. Added Smi to list of supported projects

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