You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/playground/maxjobs2/wscript

15 lines
316 B
Python

#! /usr/bin/env python
# execute several instances of the build in "compute" (look in the wscript over there)
def configure(conf):
pass
def build(bld):
p = bld.srcnode.find_node('compute').abspath()
bld.jobs = JOBS = 3
for i in range(JOBS):
bld(rule='waf configure build -o test%d'%i, cwd=p, always=True)