Update the static analyzer buildbot script to set -isysroot to the OS X SDK path when analyzing preprocessed files.
Details
Details
Diff Detail
Diff Detail
Event Timeline
utils/analyzer/SATestBuild.py | ||
---|---|---|
277 | I think it might be better to check if the host os is OS X. This way one might be able to check preprocessed files on other linux. |
utils/analyzer/SATestBuild.py | ||
---|---|---|
277 | The patch checks for the existence of xcrun in the path and doesn't set -isysroot if that is not present, so this should continue to work on Linux and cygwin. |
utils/analyzer/SATestBuild.py | ||
---|---|---|
277 | I see, however -cc1 option is only used when the SDKPath is not None. Is this intended? |
utils/analyzer/SATestBuild.py | ||
---|---|---|
277 | No, you're right -- that is not intended. |
I think it might be better to check if the host os is OS X. This way one might be able to check preprocessed files on other linux.