mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
Update build_marker only if specific cmake-target is not requested (#3788)
Summary: Pull Request resolved: https://github.com/facebookincubator/velox/pull/3788 Reviewed By: chadaustin Differential Revision: D42637430 fbshipit-source-id: 6997a537a0f924b068551c244463082b3e105be6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
730dad1340
commit
4761c000af
@@ -627,8 +627,10 @@ class BuildCmd(ProjectCmdBase):
|
|||||||
)
|
)
|
||||||
builder.build(install_dirs, reconfigure=reconfigure)
|
builder.build(install_dirs, reconfigure=reconfigure)
|
||||||
|
|
||||||
with open(built_marker, "w") as f:
|
# Update built_marker only if user hasn't built a specific target
|
||||||
f.write(project_hash)
|
if m == manifest and args.cmake_target == "install":
|
||||||
|
with open(built_marker, "w") as f:
|
||||||
|
f.write(project_hash)
|
||||||
|
|
||||||
# Only populate the cache from continuous build runs
|
# Only populate the cache from continuous build runs
|
||||||
if args.schedule_type == "continuous":
|
if args.schedule_type == "continuous":
|
||||||
|
Reference in New Issue
Block a user