1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-05 19:55:47 +03:00

getdeps: if the hash has changed, force a cmake reconfigure

Summary:
This is needed to correctly pick up changes made to
eg: cmake.defines sections in the manifest for first-party
projects.

Reviewed By: strager

Differential Revision: D15246337

fbshipit-source-id: 35e525e885f87d6136d5ff3b94ebf34516ab947c
This commit is contained in:
Wez Furlong
2019-05-08 08:15:28 -07:00
committed by Facebook Github Bot
parent caaf87c0ff
commit 52d9e00c99

View File

@@ -245,6 +245,7 @@ class BuildCmd(SubCmd):
# Some kind of inconsistency with a prior build, # Some kind of inconsistency with a prior build,
# let's run it again to be sure # let's run it again to be sure
os.unlink(built_marker) os.unlink(built_marker)
reconfigure = True
if sources_changed or reconfigure or not os.path.exists(built_marker): if sources_changed or reconfigure or not os.path.exists(built_marker):
if os.path.exists(built_marker): if os.path.exists(built_marker):