[lit] When setting SDKROOT on Darwin, use '--sdk macosx' to find the right SDK path.
authorKuba Mracek <mracek@apple.com>
Fri, 18 Nov 2016 23:25:57 +0000 (23:25 +0000)
committerKuba Mracek <mracek@apple.com>
Fri, 18 Nov 2016 23:25:57 +0000 (23:25 +0000)
commitfe16c1ff14fa7442461a03eaa4af1becfa94ce1c
tree28b86ce5fcf42d529667febf1adf044c440db8ad
parent6cc58e09c8500680ddb562af0558c9faa077ace4
[lit] When setting SDKROOT on Darwin, use '--sdk macosx' to find the right SDK path.

This will make sure that we find an actual path in case you have Command Line Tools installed.

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