OSDN Git Service

Fix go bindings test when using goma distributed build tool
authorReid Kleckner <rnk@google.com>
Mon, 26 Mar 2018 20:19:14 +0000 (20:19 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 26 Mar 2018 20:19:14 +0000 (20:19 +0000)
commit13e4ac01113536cb93d537b660e2dbc0c205dcb6
treea62dea4a673a47838adfdee411147e0c7c84a20b
parentc7df4e42afcebed68bdb0194e5405f2086d1370d
Fix go bindings test when using goma distributed build tool

Goma[1] is a distributed build system similar to distcc and icecc
primarily used to compile Chromium. The client is open source, and
hopefully soon the server will be as well. The intended usage model is
similar to most distributed build systems: prefix gomacc onto your
compiler command line, and it transparently distributes compilation.

The go lit config wants to determine the host compiler binary, so it
needs some extra logic to avoid looking at these prefixes.

[1] https://chromium.googlesource.com/infra/goma/client/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328580 91177308-0d34-0410-b5e6-96231b3b80d8
test/Bindings/Go/lit.local.cfg