[sdks] Wrap configure to provide better output. (#8306)
commita9eac69ffcfe8bc7e28f7b9684d244de19f83ebb
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Thu, 19 Apr 2018 15:20:25 +0000 (19 17:20 +0200)
committerZoltan Varga <vargaz@gmail.com>
Thu, 19 Apr 2018 15:20:25 +0000 (19 11:20 -0400)
treee3f7a5dfe961f907fd1f8d57c5f759f8fcc662f9
parentcd075b31b1227454a412e846725eb8318fe6a59c
[sdks] Wrap configure to provide better output. (#8306)

* [sdks] Wrap configure to provide better output.

Wrap configure in a script that:

* Captures stdout/stderr and only shows it in case of errors.
* If configure fails, and a cache file was used, deletes the cache file and
  tries again.
* If configure really fails, then print config.log in addition to
  stdout/stderr, since a lot of valuable diagnostic output is in that file
  (and it's annoying to track down configure failures on bots when the file
  with the important output has already been deleted).

* Only show config.log when running on bots.
sdks/builds/runtime.mk
sdks/builds/wrap-configure.sh [new file with mode: 0755]