DescriptionClang update.sh: always clear CMake's cache, and only set MACOSX_DEPLOYMENT_TARGET when needed
Previously it was possible to run into situations where CMake would fail,
write a partial CMakeCache.txt, and on the next run of update.sh, we would
think the build was already configured and skip the CMake step.
This patch removes that problem by always clearing the cache and forcing
a full re-run of CMake. This also has the benefit that if the path to the
compiler or a compiler flag changes, the build will get updated.
Note that doing a full re-run of CMake doesn't mean doing a full re-build.
Also, we should only be setting MACOSX_DEPLOYMENT_TARGET when doing bootstrap
builds. This patch fixes that too.
BUG=415670
Committed: https://crrev.com/835667440fd8753d9b0378470fa74f273b5b2cad
Cr-Commit-Position: refs/heads/master@{#296771}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|