2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-29 21:41:44 +01:00
waf/playground/maxjobs2/wscript

15 lines
316 B
Plaintext
Raw Normal View History

2012-03-12 00:52:52 +01:00
#! /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()
2012-03-12 01:06:09 +01:00
bld.jobs = JOBS = 3
for i in range(JOBS):
2012-03-12 00:52:52 +01:00
bld(rule='waf configure build -o test%d'%i, cwd=p, always=True)