Revamp the script to handle the 'TEST=simple' output.
[oota-llvm.git] / utils / llvmbuild
index 0b43a0c508674f4060439f6f9e636d533b089528..b623d32021589c0ee1d70e0c9e0e81af0fdc9515 100755 (executable)
@@ -653,6 +653,7 @@ class Builder(threading.Thread):
                            configure_env[comp_key][build])
 
             self.logger.info("Building " + component + " in " + builddir)
+            self.logger.info("Build: make " + str(make_flags[comp_key][build]))
             self.make(component, srcdir, builddir,
                       make_flags[comp_key][build],
                       make_env[comp_key][build])
@@ -664,6 +665,8 @@ class Builder(threading.Thread):
                           make_install_env[comp_key][build])
 
             self.logger.info("Testing " + component + " in " + builddir)
+            self.logger.info("Test: make "
+                             + str(make_check_flags[comp_key][build]))
             self.make(component, srcdir, builddir,
                       make_check_flags[comp_key][build],
                       make_check_env[comp_key][build])
@@ -752,9 +755,10 @@ if jobs == 0:
     jobs = 1
 
 numthreads = options.threads
-if jobs < numthreads:
-    numthreads = jobs
-    jobs = 1
+
+logging.getLogger().info("Building with " + str(options.jobs) + " jobs and "
+                         + str(numthreads) + " threads using " + str(jobs)
+                         + " make jobs")
 
 for t in range(numthreads):
     builder = Builder(work_queue, jobs,