travis-ci: use buildman -P everywhere
authorStephen Warren <swarren@nvidia.com>
Wed, 26 Oct 2016 17:05:34 +0000 (11:05 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 29 Oct 2016 02:10:43 +0000 (22:10 -0400)
This places build results into a board-specific directory rather than a
buildman-thread-specific directory. This is required so that we can
access the directory from test.py, and there's no risk of a particular
build's results being over-written by another build performed by the
same thread.

In theory, this can lead to slower builds when building many different
boards in a single buildman thread, since it removes the possibility of
incremental builds between boards. In practice however I didn't notice
longer build times when when enabling this option; if anything build
times decreased although I suspect that's simply due to general
variations in build performance across different machines within the
Travis CI infra-structure.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
.travis.yml

index 119dec8df5b2cb3541c1665795231f94b7465790..6e72e0bb233fe3a1b13713cc77d261a2d6ea4d60 100644 (file)
@@ -72,7 +72,7 @@ script:
  # Exit code 129 means warnings only.
  - if [[ "${BUILDMAN}" != "" ]]; then
      set +e;
-     tools/buildman/buildman ${BUILDMAN};
+     tools/buildman/buildman -P ${BUILDMAN};
      ret=$?;
      if [[ $ret -eq 0 || $ret -eq 129 ]]; then
        exit 0;