source: branches/testScripts/NBuserParametersDefault.py @ 759

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

updated to run CppAD's testMore program

  • Property svn:eol-style set to native
File size: 8.5 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     #,{ 'SvnVersion': 'latestRelease', 'OptLevel': 'Debug', 'ThirdParty': 'No' }
73     ],
74   'Osi' : 
75     [ 
76       { 'Reference' : 'CoinUtils' }
77     ],
78   'Clp' : 
79     [ 
80       { 'Reference' : 'CoinUtils' }
81     ],
82   'DyLP' : 
83     [ 
84       { 'Reference' : 'CoinUtils' }
85     ],
86   'SYMPHONY' : 
87     [ 
88       { 'Reference' : 'CoinUtils' }
89     ],
90   'Vol' : 
91     [ 
92       { 'Reference' : 'CoinUtils' }
93     ],
94   'Cgl' : 
95     [ 
96       { 'Reference' : 'CoinUtils' }
97     ],
98   'Cbc' : 
99     [ 
100       { 'Reference' : 'CoinUtils' } 
101
102       # And build a parallel version with Third Party
103     #,{
104     #   'SvnVersion': 'latestStable',
105     #   'OptLevel': 'Default',
106     #   'ThirdParty': 'Yes',
107     #   'AdditionalConfigOptions': '--enable-cbc-parallel'
108     # }
109     ],
110   'Smi' : 
111     [ 
112       { 'Reference' : 'CoinUtils' } 
113     ],
114   'FlopC++' : 
115     [ 
116       { 'Reference' : 'CoinUtils' }
117     ],
118   'Ipopt' : 
119     [ 
120       { 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty':'Yes' }
121     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Debug',   'ThirdParty':'Yes' }
122     #,{ 'SvnVersion': 'latestStable', 'OptLevel': 'Default', 'ThirdParty':'Yes' }
123     #,{ 'SvnVersion': 'latestRelease','OptLevel': 'Default', 'ThirdParty':'Yes' }
124     ],
125   'Bonmin' : 
126     [ 
127       { 'Reference' : 'Ipopt' }
128     ],
129   'OS' :
130     [ 
131       { 'Reference' : 'Ipopt' } 
132     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
133     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Debug',   'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
134     #,{ 'SvnVersion': 'latestStable', 'OptLevel': 'Default', 'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
135     #,{ 'SvnVersion': 'latestRelease','OptLevel': 'Default', 'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
136     ],
137   'CppAD' : 
138     [ 
139       { 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example --with-TestMore' } 
140     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Debug',   'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example --with-TestMore' }
141     #,{ 'SvnVersion': 'latestStable', 'OptLevel': 'Default', 'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example --with-TestMore' }
142     #,{ 'SvnVersion': 'latestRelease','OptLevel': 'Default', 'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example --with-TestMore' }
143     ],
144   'Smi' : 
145     [ 
146       { 'Reference' : 'CoinUtils' }
147     ]
148  }
149
150#----------------------------------------------------------------------
151#On some systems the user might want to set extra options for the
152#configure script like compilers...
153#example: CONFIGURE_FLAGS = 'CC="gcc -m32" CXX="g++ -m32" F77="gfortran -m32"'
154#----------------------------------------------------------------------
155
156CONFIGURE_FLAGS = ''
157
158
159#----------------------------------------------------------------------
160# LOGPRINT:
161#   switch for logoutput to stdout. If set to 1 (default) log will go to
162#   stdout, if set to 0, then not.
163# LOGFILE:
164#   If not empty, then log messages will go to this file.
165#   If LOGPRINT is 1, then log messages will go to stdout as well.
166#   The LOGFILE will be used relative to the NIGHTLY_BUILD_ROOT_DIR, i.e.,
167#   log will be written into NIGHTLY_BUILD_ROOT_DIR+'/'+LOGFILE
168#----------------------------------------------------------------------
169LOGPRINT = 1
170LOGFILE = ''
171
172#----------------------------------------------------------------------
173# Values for sending mail:
174#  EMAIL_STOREFILE: If set, then e-mails are not send but stored in a file.
175#                   The filename is relative to NIGHTLY_BUILD_ROOT_DIR.
176#                   If set, then no values for the SMTP_ fields need to be given.
177#  SMTP_SERVER_NAME: name of smtp server. For gmail server
178#                 this is smtp.gmail.com
179#  SMTP_SERVER_PORT: port number of the smtp server. This is typically 25,
180#                 but for gmail server it is 587.
181#  SMTP_SSL_SERVER: 0 or 1. If 1 then SMTP uses SSL (sometimes called startltls).
182#                 For gmail this is 1.
183#  SMTP_USER_NAME: name of authorized user on server. If using gmail server
184#                 this is gmail_userid@gmail.com which is coded as
185#                 'gmail_userid _AT_ gmail _DOT_ com. 
186#  SMTP_PASSWORD_FILENAME: name of file containing smtp user's password
187#  SENDER_EMAIL_ADDR: email sent by this script will be from this address
188#  MY_EMAIL_ADDR: All problems detected by the script will be sent to
189#                 this email address. The intention is for this to be
190#                 the email address of the person running this script
191#  SEND_MAIL_TO_PROJECT_MANAGER: 0 or 1. If 1 then any problems
192#                 detected are sent to MY_EMAIL_ADDRESS and the
193#                 project manager.
194#----------------------------------------------------------------------
195EMAIL_STOREFILE = ''
196
197SMTP_SERVER_NAME = 'xxx.smtp.server.name'
198SMTP_SERVER_PORT = 25
199SMTP_SSL_SERVER = 0
200SMTP_USER_NAME = 'xxxx'
201SMTP_PASSWORD_FILENAME = '/xxx/yyy/smtpPassWordFile'
202SENDER_EMAIL_ADDR='xxx _AT_ yyyy _DOT_ edu'
203MY_EMAIL_ADDR = SENDER_EMAIL_ADDR
204
205SEND_MAIL_TO_PROJECT_MANAGER = 0
Note: See TracBrowser for help on using the repository browser.