source: branches/testScripts/NBuserParametersDefault.py @ 771

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

Added LaGO

  • 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   'LaGO' :
126     [
127       { 'Reference' : 'Ipopt' },
128     ],
129   'Bonmin' : 
130     [ 
131       { 'Reference' : 'Ipopt' }
132     ],
133   'OS' :
134     [ 
135       { 'Reference' : 'Ipopt' } 
136     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
137     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Debug',   'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
138     #,{ 'SvnVersion': 'latestStable', 'OptLevel': 'Default', 'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
139     #,{ 'SvnVersion': 'latestRelease','OptLevel': 'Default', 'ThirdParty': 'No', 'SkipProjects': ('Ipopt') }
140     ],
141   'CppAD' : 
142     [ 
143       { 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example --with-TestMore' } 
144     #,{ 'SvnVersion': 'trunk',        'OptLevel': 'Debug',   'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example --with-TestMore' }
145     #,{ 'SvnVersion': 'latestStable', 'OptLevel': 'Default', 'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example --with-TestMore' }
146     #,{ 'SvnVersion': 'latestRelease','OptLevel': 'Default', 'ThirdParty': 'No', 'AdditionalConfigOptions':'--with-Example --with-TestMore' }
147     ],
148   'Smi' : 
149     [ 
150       { 'Reference' : 'CoinUtils' }
151     ]
152  }
153
154#----------------------------------------------------------------------
155#On some systems the user might want to set extra options for the
156#configure script like compilers...
157#example: CONFIGURE_FLAGS = 'CC="gcc -m32" CXX="g++ -m32" F77="gfortran -m32"'
158#----------------------------------------------------------------------
159
160CONFIGURE_FLAGS = ''
161
162
163#----------------------------------------------------------------------
164# LOGPRINT:
165#   switch for logoutput to stdout. If set to 1 (default) log will go to
166#   stdout, if set to 0, then not.
167# LOGFILE:
168#   If not empty, then log messages will go to this file.
169#   If LOGPRINT is 1, then log messages will go to stdout as well.
170#   The LOGFILE will be used relative to the NIGHTLY_BUILD_ROOT_DIR, i.e.,
171#   log will be written into NIGHTLY_BUILD_ROOT_DIR+'/'+LOGFILE
172#----------------------------------------------------------------------
173LOGPRINT = 1
174LOGFILE = ''
175
176#----------------------------------------------------------------------
177# Values for sending mail:
178#  EMAIL_STOREFILE: If set, then e-mails are not send but stored in a file.
179#                   The filename is relative to NIGHTLY_BUILD_ROOT_DIR.
180#                   If set, then no values for the SMTP_ fields need to be given.
181#  SMTP_SERVER_NAME: name of smtp server. For gmail server
182#                 this is smtp.gmail.com
183#  SMTP_SERVER_PORT: port number of the smtp server. This is typically 25,
184#                 but for gmail server it is 587.
185#  SMTP_SSL_SERVER: 0 or 1. If 1 then SMTP uses SSL (sometimes called startltls).
186#                 For gmail this is 1.
187#  SMTP_USER_NAME: name of authorized user on server. If using gmail server
188#                 this is gmail_userid@gmail.com which is coded as
189#                 'gmail_userid _AT_ gmail _DOT_ com. 
190#  SMTP_PASSWORD_FILENAME: name of file containing smtp user's password
191#  SENDER_EMAIL_ADDR: email sent by this script will be from this address
192#  MY_EMAIL_ADDR: All problems detected by the script will be sent to
193#                 this email address. The intention is for this to be
194#                 the email address of the person running this script
195#  SEND_MAIL_TO_PROJECT_MANAGER: 0 or 1. If 1 then any problems
196#                 detected are sent to MY_EMAIL_ADDRESS and the
197#                 project manager.
198#----------------------------------------------------------------------
199EMAIL_STOREFILE = ''
200
201SMTP_SERVER_NAME = 'xxx.smtp.server.name'
202SMTP_SERVER_PORT = 25
203SMTP_SSL_SERVER = 0
204SMTP_USER_NAME = 'xxxx'
205SMTP_PASSWORD_FILENAME = '/xxx/yyy/smtpPassWordFile'
206SENDER_EMAIL_ADDR='xxx _AT_ yyyy _DOT_ edu'
207MY_EMAIL_ADDR = SENDER_EMAIL_ADDR
208
209SEND_MAIL_TO_PROJECT_MANAGER = 0
Note: See TracBrowser for help on using the repository browser.