2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-26 03:39:53 +01:00
waf/playground/maxjobs2/wscript
Thomas Nagy fe7fc71b81 docs
2012-03-12 01:06:09 +01:00

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)