Ticket #52742: variants-master.cfg.diff
File variants-master.cfg.diff, 2.4 KB (added by mojca (Mojca Miklavec), 8 years ago) |
---|
-
master.cfg
218 218 schedulers.ForceScheduler( 219 219 name='portwatcher_force', 220 220 builderNames=portwatcher_buildernames, 221 properties=[util.StringParameter( 222 name='portlist', 223 label='Port list:', 224 default='', 225 size=30, 226 required=True)]) 221 properties=[ 222 util.StringParameter( 223 name='portlist', 224 label='Port list:', 225 default='', 226 size=30, 227 required=True), 228 util.StringParameter( 229 name='variants', 230 label='Variants:', 231 default='', 232 size=30, 233 required=False)]) 227 234 ] 228 235 229 236 … … 353 360 for port in self.build.getProperty('subportlist').split(): 354 361 props = self.set_properties.copy() 355 362 props['portname'] = port 363 props['variants'] = self.build.getProperty('variants') 356 364 sp.append([scheduler, props]) 357 365 return sp 358 366 … … 441 449 logdir = os.path.join(portbuilder_factory.workdir, 'logs') 442 450 443 451 portbuilder_factory.addStep(steps.Compile( 444 command=['./mpbb/mpbb', '--prefix', util.WithProperties(prefix), 'install-dependencies', util.WithProperties('%(portname)s') ],452 command=['./mpbb/mpbb', '--prefix', util.WithProperties(prefix), 'install-dependencies', util.WithProperties('%(portname)s'), '--variants', util.WithProperties('%(variants)s')], 445 453 name='install-dependencies', 446 454 description=['installing', 'dependencies', 'of', util.WithProperties('%(portname)s')], 447 455 descriptionDone=['install', 'dependencies', 'of', util.WithProperties('%(portname)s')], … … 449 457 haltOnFailure=True)) 450 458 451 459 portbuilder_factory.addStep(steps.Compile( 452 command=['./mpbb/mpbb', '--prefix', util.WithProperties(prefix), 'install-port', util.WithProperties('%(portname)s') ],460 command=['./mpbb/mpbb', '--prefix', util.WithProperties(prefix), 'install-port', util.WithProperties('%(portname)s'), '--variants', util.WithProperties('%(variants)s')], 453 461 name='install-port', 454 462 description=['installing', util.WithProperties('%(portname)s')], 455 463 descriptionDone=['install', util.WithProperties('%(portname)s')],