source: branches/testScripts/NBuserParametersDefault.py @ 692

Last change on this file since 692 was 692, checked in by kmartin, 13 years ago

update files so NBuserConfig not needed

  • Property svn:eol-style set to native
File size: 6.4 KB
Line 
1#----------------------------------------------------------------------
2# This file is a template for a user-given parameter file.
3# It contains variables that the person running this script need to set or modify.
4#----------------------------------------------------------------------
5
6#----------------------------------------------------------------------
7# NIGHTLY_BUILD_ROOT_DIR:
8#   directory where code will be checked out and builds
9#   done. If the directory does not exist, it will be created.
10#----------------------------------------------------------------------
11NIGHTLY_BUILD_ROOT_DIR = 'xxx'
12
13#----------------------------------------------------------------------
14# List of Projects to be processed by script
15#----------------------------------------------------------------------
16PROJECTS = ['CoinUtils','DyLP','Clp','SYMPHONY','Vol','Osi','Cgl','Cbc','Ipopt','Bonmin','FlopC++','OS']
17
18
19
20#---------------------------------------------------
21#  Not sure what file this belongs in.
22#  This data structure is intended to describe how each COIN project
23#  should be built.
24#---------------------------------------------------
25BUILDS = {
26   #'DefaultProject'   :
27   #  [
28   #    { 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty':'Yes' },
29   #    { 'SvnVersion': 'latestStable', 'OptLevel': 'Debug',   'ThirdParty':'No'  }
30   #  ],
31   'CoinUtils' : 
32     [
33       { 'SvnVersion': 'trunk',         'OptLevel': 'Default', 'ThirdParty': 'No' } 
34     #,{ 'SvnVersion': 'trunk',         'OptLevel': 'Debug',   'ThirdParty': 'No' }
35     #,{ 'SvnVersion': 'latestStable',  'OptLevel': 'Default', 'ThirdParty': 'No' }
36      ,{ 'SvnVersion': 'latestStable',  'OptLevel': 'Debug',   'ThirdParty': 'No' } 
37     ],
38   'DyLP' : 
39     [ 
40       { 'Reference' : 'CoinUtils' }, 
41     ],
42   'Clp' : 
43     [ 
44       { 'Reference' : 'CoinUtils' }, 
45     ],
46   'SYMPHONY' : 
47     [ 
48       { 'Reference' : 'CoinUtils' }, 
49     ],
50   'Vol' : 
51     [ 
52       { 'Reference' : 'CoinUtils' }, 
53     ],
54   'Osi' : 
55     [ 
56       { 'Reference' : 'CoinUtils' }, 
57     ],
58   'Cgl' : 
59     [ 
60       { 'Reference' : 'CoinUtils' }, 
61     ],
62   'Cbc' : 
63     [ 
64       { 'Reference' : 'CoinUtils' }, 
65           
66           
67       # And build a parallel version with Third Party
68       { 
69         'SvnVersion': 'releases/1.2.0', 
70         'OptLevel': 'Default', 
71         'ThirdParty': 'Yes', 
72         'AdditionConfigOptions': '--enable-cbc-parallel' 
73       }
74     ],
75   'FlopC++' : 
76     [ 
77       { 'Reference' : 'CoinUtils' }, 
78     ],
79   'Ipopt' : 
80     [ 
81       { 'SvnVersion': 'trunk', 'OptLevel': 'Default', 'ThirdParty':'Yes' }, 
82     ],
83   'Bonmin' : 
84     [ 
85       { 'Reference' : 'Ipopt' }, 
86     ],
87   'OS' :
88     [ 
89       { 'Reference' : 'Ipopt' }, 
90       { 
91         'SvnVersion': 'trunk', 
92         'OptLevel': 'Default', 
93         'ThirdParty': 'No', 
94         'SkipProjects': ('Ipopt') } 
95     ]
96  }
97
98
99
100
101
102#----------------------------------------------------------------------
103# LOGPRINT:
104#   switch for logoutput to stdout. If set to 1 (default) log will go to
105#   stdout, if set to 0, then not.
106# LOGFILE:
107#   If not empty, then log messages will go to this file.
108#   If LOGPRINT is 1, then log messages will go to stdout as well.
109#   The LOGFILE will be used relative to the NIGHTLY_BUILD_ROOT_DIR, i.e.,
110#   log will be written into NIGHTLY_BUILD_ROOT_DIR+'/'+LOGFILE
111#----------------------------------------------------------------------
112LOGPRINT = 1
113LOGFILE = ''
114
115#----------------------------------------------------------------------
116# Define directory where svn is located.
117# If svn is in the default path, then this can be set to an empty string
118#----------------------------------------------------------------------
119# This is not supported by newNightlyBuild.py
120# If newNightlyBuild becomes default, then SVNPATH_PREFIX will go away
121SVNPATH_PREFIX = ''
122
123#----------------------------------------------------------------------
124# Values for sending mail:
125#  EMAIL_STOREFILE: If set, then e-mails are not send but stored in a file.
126#                   The filename is relative to NIGHTLY_BUILD_ROOT_DIR.
127#                   If set, then no values for the SMTP_ fields need to be given.
128#  SMTP_SERVER_NAME: name of smtp server. For gmail server
129#                 this is smtp.gmail.com
130#  SMTP_SERVER_PORT: port number of the smtp server. This is typically 25,
131#                 but for gmail server it is 587.
132#  SMTP_SSL_SERVER: 0 or 1. If 1 then SMTP uses SSL (sometimes called startltls).
133#                 For gmail this is 1.
134#  SMTP_USER_NAME: name of authorized user on server. If using gmail server
135#                 this is gmail_userid@gmail.com which is coded as
136#                 'gmail_userid _AT_ gmail _DOT_ com. 
137#  SMTP_PASSWORD_FILENAME: name of file containing smtp user's password
138#  SENDER_EMAIL_ADDR: email sent by this script will be from this address
139#  MY_EMAIL_ADDR: All problems detected by the script will be sent to
140#                 this email address. The intention is for this to be
141#                 the email address of the person running this script
142#  SEND_MAIL_TO_PROJECT_MANAGER: 0 or 1. If 1 then any problems
143#                 detected are sent to MY_EMAIL_ADDRESS and the
144#                 project manager.
145#----------------------------------------------------------------------
146EMAIL_STOREFILE = ''
147
148SMTP_SERVER_NAME = 'xxx.smtp.server.name'
149SMTP_SERVER_PORT = 25
150SMTP_SSL_SERVER = 0
151SMTP_USER_NAME = 'xxxx'
152SMTP_PASSWORD_FILENAME = '/xxx/yyy/smtpPassWordFile'
153SENDER_EMAIL_ADDR='xxx _AT_ yyyy _DOT_ edu'
154MY_EMAIL_ADDR = SENDER_EMAIL_ADDR
155
156SEND_MAIL_TO_PROJECT_MANAGER = 0
157
158#----------------------------------------------------------------------
159# DOWNLOAD_3RD_PARTY: 0 or 1.
160# Several COIN-OR projects provide scripts for downloading 3rd party
161# code that the project will use if it is available.  Some of
162# the this 3rd party code is distributed under various different
163# licenses. A 1 indicates that the script will download 3rd party
164# code if the COIN-OR project provides the script
165# ThirdParty/xxx/get.xxx where xxx is the name of the third party code
166#----------------------------------------------------------------------
167
168DOWNLOAD_3RD_PARTY = 0
169
170#----------------------------------------------------------------------
171#On some systems the user might want to set extra options for the
172#configure script like compilers...
173#----------------------------------------------------------------------
174
175CONFIGURE_FLAGS = ''
Note: See TracBrowser for help on using the repository browser.