diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-04 14:58:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-04 14:58:08 +0200 |
commit | 578413a1f8781f03c2ddccb4d3c5d441c9579a3b (patch) | |
tree | e09764195dbf2027f6bd3f9be3b0d280c99b9340 /bbot/agent.cxx | |
parent | 1af66bf90d14ec32ec0df5fe266674bd08ecf5e1 (diff) |
Add --cpu and --ram options
Diffstat (limited to 'bbot/agent.cxx')
-rw-r--r-- | bbot/agent.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bbot/agent.cxx b/bbot/agent.cxx index 26b0073..8c281fe 100644 --- a/bbot/agent.cxx +++ b/bbot/agent.cxx @@ -99,6 +99,16 @@ try return p.wait () ? 0 : 1; } + if (argc != 2) + fail << "toolchain name excected" << + info << "run " << argv[0] << " --help for details"; + + string tc (argv[1]); + + info << "starting bbot agent for toolchain " << tc << + info << ops.cpu () << " CPU(s)" << + info << ops.ram () << " RAM(kB)"; + for (;;) { error << "sleeping" << |