Recommit r287403 (reverted in r287804): [lit] When setting SDKROOT on Darwin, use...
authorKuba Mracek <mracek@apple.com>
Thu, 1 Dec 2016 17:45:22 +0000 (17:45 +0000)
committerKuba Mracek <mracek@apple.com>
Thu, 1 Dec 2016 17:45:22 +0000 (17:45 +0000)
commit93f12aff5519479efc3e3d1114ff18579d376ff6
tree8a89ec5a9a40a0036ccf081c7d192dd007bb908a
parent7636149f312f0f7e5fcf95eec7775954f6724383
Recommit r287403 (reverted in r287804): [lit] When setting SDKROOT on Darwin, use '--sdk macosx' to find the right SDK path.

This shouls now be safe and not break any more bots.  It's strictly better to use '--sdk macosx', otherwise xcrun can return weird things for example when you have Command Line Tools or the SDK installed into '/'.

llvm-svn: 288385
llvm/utils/lit/lit/util.py