source: branches/testScripts/NBuserParametersDefault.py @ 740

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

Smi was listed in twice in PROJECTS

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