зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1329306 - Also clobber the CMakeFiles directory; r=mystor
This directory can include variables for the toolchain path names, for example, which are different from run to run on Windows TaskCluster workers.
This commit is contained in:
Родитель
180d53d0e9
Коммит
b212e8e44a
|
@ -205,6 +205,8 @@ def build_one_stage(cc, cxx, ld, ar, ranlib,
|
|||
# previous CMake run is cleared before running it again.
|
||||
if os.path.exists(build_dir + "/CMakeCache.txt"):
|
||||
os.remove(build_dir + "/CMakeCache.txt")
|
||||
if os.path.exists(build_dir + "/CMakeFiles"):
|
||||
shutil.rmtree(build_dir + "/CMakeFiles")
|
||||
|
||||
# cmake doesn't deal well with backslashes in paths.
|
||||
def slashify_path(path):
|
||||
|
|
Загрузка…
Ссылка в новой задаче