1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-05 19:55:47 +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:
Manikandan Somasundaram
2023-01-24 16:44:43 -08:00
committed by Facebook GitHub Bot
parent 730dad1340
commit 4761c000af

View File

@@ -627,8 +627,10 @@ class BuildCmd(ProjectCmdBase):
)
builder.build(install_dirs, reconfigure=reconfigure)
with open(built_marker, "w") as f:
f.write(project_hash)
# Update built_marker only if user hasn't built a specific target
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
if args.schedule_type == "continuous":