source: branches/testScripts/NBprojectConfig.py @ 691

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

clean up NBprojectConfig.py

  • Property svn:eol-style set to native
File size: 6.9 KB
Line 
1#! /usr/bin/env python
2
3import os
4import NBuserConfig
5
6#----------------------------------------------------------------------
7# This file defines variables which describe how the specific
8# coin-or projects are to be build and tested.
9#----------------------------------------------------------------------
10
11#----------------------------------------------------------------------
12PROJECT_EMAIL_ADDRS = {}
13PROJECT_CONFIG_LINES = {}
14UNITTEST_DIR = {}
15UNITTEST_CMD = {}
16ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS = {}
17STANDARD_CONFIG_LINES = {}
18SKIP3RDPARTY_CONFIG_LINES = {}
19
20
21
22#----------------------------------------------------------------------
23PROJECT_EMAIL_ADDRS['CoinUtils'] = 'ladanyi _AT_ us _DOT_ ibm _DOT_ com'
24ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['CoinUtils'] = ['make test']
25PROJECT_CONFIG_LINES['CoinUtils'] = STANDARD_CONFIG_LINES.copy()
26#does not have references to third party packages
27
28#----------------------------------------------------------------------
29PROJECT_EMAIL_ADDRS['DyLP'] = 'lou _AT_ cs _DOT_ sfu _DOT_ ca'
30UNITTEST_DIR['DyLP'] = os.path.join('Osi','test')
31UNITTEST_CMD['DyLP'] = './unitTest -testOsiSolverInterface -netlibDir=_NETLIBDIR_ -cerr2cout' 
32ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['DyLP'] = ['make test']
33PROJECT_CONFIG_LINES['DyLP'] = STANDARD_CONFIG_LINES.copy()
34#does not have references to third party packages
35
36#----------------------------------------------------------------------
37PROJECT_EMAIL_ADDRS['Clp'] = 'jjforre _AT_ us _DOT_ ibm _DOT_ com'
38UNITTEST_DIR['Clp'] = os.path.join('Clp','src')
39UNITTEST_CMD['Clp'] = './clp -unitTest dirNetlib=_NETLIBDIR_ -netlib' 
40ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['Clp'] = ['make test',UNITTEST_CMD['Clp']]
41PROJECT_CONFIG_LINES['Clp'] = STANDARD_CONFIG_LINES.copy()
42PROJECT_CONFIG_LINES['Clp'].update(SKIP3RDPARTY_CONFIG_LINES)
43
44#----------------------------------------------------------------------
45PROJECT_EMAIL_ADDRS['SYMPHONY'] = 'tkr2 _AT_ lehigh _DOT_ edu'
46ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['SYMPHONY'] = ['make test']
47PROJECT_CONFIG_LINES['SYMPHONY'] = STANDARD_CONFIG_LINES.copy()
48PROJECT_CONFIG_LINES['SYMPHONY'].update(SKIP3RDPARTY_CONFIG_LINES)
49
50#----------------------------------------------------------------------
51PROJECT_EMAIL_ADDRS['Vol'] = 'barahon _AT_ us _DOT_ ibm _DOT_ com'
52PROJECT_CONFIG_LINES['Vol'] = STANDARD_CONFIG_LINES.copy()
53#does not have references to third party packages
54
55#----------------------------------------------------------------------
56PROJECT_EMAIL_ADDRS['Osi'] = 'mjs _AT_ ces _DOT_ clemson _DOT_ edu'
57UNITTEST_DIR['Osi'] = os.path.join('Osi','test')
58UNITTEST_CMD['Osi'] = './unitTest -testOsiSolverInterface -netlibDir=_NETLIBDIR_ -cerr2cout' 
59ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['Osi'] = ['make test',UNITTEST_CMD['Osi']]
60PROJECT_CONFIG_LINES['Osi'] = STANDARD_CONFIG_LINES.copy()
61PROJECT_CONFIG_LINES['Osi'].update(SKIP3RDPARTY_CONFIG_LINES)
62
63#----------------------------------------------------------------------
64PROJECT_EMAIL_ADDRS['Cgl'] = 'robinlh _AT_ us _DOT_ ibm _DOT_ com'
65ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['Cgl'] = ['make test']
66PROJECT_CONFIG_LINES['Cgl'] = STANDARD_CONFIG_LINES.copy()
67#does not have references to third party packages
68
69#----------------------------------------------------------------------
70PROJECT_EMAIL_ADDRS['Cbc'] = 'jjforre _AT_ us _DOT_ ibm _DOT_ com'
71UNITTEST_DIR['Cbc'] = os.path.join('Cbc','src')
72UNITTEST_CMD['Cbc'] = './cbc -unitTest -dirMiplib=_MIPLIB3DIR_ -miplib' 
73PROJECT_CONFIG_LINES['Cbc'] = STANDARD_CONFIG_LINES.copy()
74PROJECT_CONFIG_LINES['Cbc'].update(SKIP3RDPARTY_CONFIG_LINES)
75PROJECT_CONFIG_LINES['Cbc']['Parallel']='--enable-cbc-parallel'
76
77#----------------------------------------------------------------------
78PROJECT_EMAIL_ADDRS['Ipopt'] = 'andreasw _AT_ us _DOT_ ibm _DOT_ com'
79PROJECT_CONFIG_LINES['Ipopt'] = STANDARD_CONFIG_LINES.copy()
80#third party packages are not optional here
81
82#----------------------------------------------------------------------
83PROJECT_EMAIL_ADDRS['Bonmin'] = 'pbonami _AT_ us _DOT_ ibm _DOT_ com'
84PROJECT_CONFIG_LINES['Bonmin'] = STANDARD_CONFIG_LINES.copy()
85#third party packages are not optional here
86
87#----------------------------------------------------------------------
88PROJECT_EMAIL_ADDRS['FlopC++'] = 'Tim _DOT_ Hultberg _AT_ eumetsat _DOT_ int'
89ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['FlopC++'] = ['make test']
90PROJECT_CONFIG_LINES['FlopC++'] = STANDARD_CONFIG_LINES.copy()
91#does not have references to third party packages
92
93#----------------------------------------------------------------------
94PROJECT_EMAIL_ADDRS['OS'] = 'kipp _DOT_ martin _AT_ chicagogsb _DOT_ edu'
95ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['OS'] = ['make test']
96PROJECT_CONFIG_LINES['OS'] = STANDARD_CONFIG_LINES.copy()
97#third party packages are not optional here (because it uses Ipopt)
98
99#----------------------------------------------------------------------
100PROJECT_EMAIL_ADDRS['CppAD'] = 'bradbell _AT_ washington _DOT_ edu'
101PROJECT_CONFIG_LINES['CppAD'] = STANDARD_CONFIG_LINES.copy()
102#does not have references to third party packages
103
104
105#---------------------------------------------------
106#  Not sure what file this belongs in.
107#  This data structure is intended to describe how each COIN project
108#  should be built.
109#---------------------------------------------------
110BUILDS = {
111   #'DefaultProject'   :
112   #  [
113   #    { 'SvnVersion': 'trunk',        'OptLevel': 'Default', 'ThirdParty':'Yes' },
114   #    { 'SvnVersion': 'latestStable', 'OptLevel': 'Debug',   'ThirdParty':'No'  }
115   #  ],
116   'CoinUtils' : 
117     [
118       { 'SvnVersion': 'trunk',         'OptLevel': 'Default', 'ThirdParty': 'No' } 
119     #,{ 'SvnVersion': 'trunk',         'OptLevel': 'Debug',   'ThirdParty': 'No' }
120     #,{ 'SvnVersion': 'latestStable',  'OptLevel': 'Default', 'ThirdParty': 'No' }
121      ,{ 'SvnVersion': 'latestStable',  'OptLevel': 'Debug',   'ThirdParty': 'No' } 
122     ],
123   'DyLP' : 
124     [ 
125       { 'Reference' : 'CoinUtils' }, 
126     ],
127   'Clp' : 
128     [ 
129       { 'Reference' : 'CoinUtils' }, 
130     ],
131   'SYMPHONY' : 
132     [ 
133       { 'Reference' : 'CoinUtils' }, 
134     ],
135   'Vol' : 
136     [ 
137       { 'Reference' : 'CoinUtils' }, 
138     ],
139   'Osi' : 
140     [ 
141       { 'Reference' : 'CoinUtils' }, 
142     ],
143   'Cgl' : 
144     [ 
145       { 'Reference' : 'CoinUtils' }, 
146     ],
147   'Cbc' : 
148     [ 
149       { 'Reference' : 'CoinUtils' }, 
150           
151           
152       # And build a parallel version with Third Party
153       { 
154         'SvnVersion': 'releases/1.2.0', 
155         'OptLevel': 'Default', 
156         'ThirdParty': 'Yes', 
157         'AdditionConfigOptions': '--enable-cbc-parallel' 
158       }
159     ],
160   'FlopC++' : 
161     [ 
162       { 'Reference' : 'CoinUtils' }, 
163     ],
164   'Ipopt' : 
165     [ 
166       { 'SvnVersion': 'trunk', 'OptLevel': 'Default', 'ThirdParty':'Yes' }, 
167     ],
168   'Bonmin' : 
169     [ 
170       { 'Reference' : 'Ipopt' }, 
171     ],
172   'OS' :
173     [ 
174       { 'Reference' : 'Ipopt' }, 
175       { 
176         'SvnVersion': 'trunk', 
177         'OptLevel': 'Default', 
178         'ThirdParty': 'No', 
179         'SkipProjects': ('Ipopt') } 
180     ]
181  }
182
Note: See TracBrowser for help on using the repository browser.