forked from qt-creator/qt-creator
Squish: Check also for expected clang on macOS
Change-Id: I32d7f5ebf02a559ca854553536874c6ec68f0ec5 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
@@ -188,7 +188,8 @@ def __getExpectedCompilers__():
|
|||||||
compilers.extend(findAllFilesInPATH("*g++*"))
|
compilers.extend(findAllFilesInPATH("*g++*"))
|
||||||
compilers.extend(findAllFilesInPATH("*gcc*"))
|
compilers.extend(findAllFilesInPATH("*gcc*"))
|
||||||
if platform.system() == 'Darwin':
|
if platform.system() == 'Darwin':
|
||||||
xcodeClang = getOutputFromCmdline(["xcrun", "--find", "clang++"]).strip("\n")
|
for compilerExe in ('clang++', 'clang'):
|
||||||
|
xcodeClang = getOutputFromCmdline(["xcrun", "--find", compilerExe]).strip("\n")
|
||||||
if xcodeClang and os.path.exists(xcodeClang) and xcodeClang not in expected:
|
if xcodeClang and os.path.exists(xcodeClang) and xcodeClang not in expected:
|
||||||
expected.append(xcodeClang)
|
expected.append(xcodeClang)
|
||||||
for compiler in compilers:
|
for compiler in compilers:
|
||||||
|
Reference in New Issue
Block a user